ipa-otpd.socket.in: Use a platform specific value for KDC service file

https://pagure.io/freeipa/issue/6845

Reviewed-By: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Tomas Krizek <tkrizek@redhat.com>
This commit is contained in:
Timo Aaltonen
2017-04-12 16:17:51 +02:00
committed by Tomas Krizek
parent db84516d23
commit 076eb409a0
3 changed files with 6 additions and 1 deletions
+1
View File
@@ -11,6 +11,7 @@ ipa_otpd_SOURCES = bind.c forward.c main.c parse.c query.c queue.c stdio.c
%.socket: %.socket.in
@sed -e 's|@krb5rundir[@]|$(krb5rundir)|g' \
-e 's|@KRB5KDC_SERVICE[@]|$(KRB5KDC_SERVICE)|g' \
-e 's|@UNLINK[@]|@UNLINK@|g' \
$< > $@
+1 -1
View File
@@ -8,4 +8,4 @@ SocketMode=0600
Accept=true
[Install]
WantedBy=krb5kdc.service
WantedBy=@KRB5KDC_SERVICE@