summaryrefslogtreecommitdiffstats
path: root/daemons
diff options
context:
space:
mode:
authorNathaniel McCallum <npmccallum@redhat.com>2017-02-17 09:10:14 -0500
committerMartin Basti <mbasti@redhat.com>2017-02-17 15:19:07 +0100
commitd05d1115e409962fee3576a4bfc5cecfacef4fd3 (patch)
treec2a2465d4d2fa748c2730df697c6235cc3a04d61 /daemons
parenteaa87c75b9f57500265b2dc9480b996b2b92e1e3 (diff)
downloadfreeipa-d05d1115e409962fee3576a4bfc5cecfacef4fd3.tar.gz
freeipa-d05d1115e409962fee3576a4bfc5cecfacef4fd3.tar.xz
freeipa-d05d1115e409962fee3576a4bfc5cecfacef4fd3.zip
Use RemoveOnStop to cleanup systemd sockets
Reviewed-By: Christian Heimes <cheimes@redhat.com>
Diffstat (limited to 'daemons')
-rw-r--r--daemons/ipa-otpd/ipa-otpd.socket.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemons/ipa-otpd/ipa-otpd.socket.in b/daemons/ipa-otpd/ipa-otpd.socket.in
index ce3596d9f..e98a73f5c 100644
--- a/daemons/ipa-otpd/ipa-otpd.socket.in
+++ b/daemons/ipa-otpd/ipa-otpd.socket.in
@@ -3,7 +3,7 @@ Description=ipa-otpd socket
[Socket]
ListenStream=@krb5rundir@/DEFAULT.socket
-ExecStopPre=@UNLINK@ @krb5rundir@/DEFAULT.socket
+RemoveOnStop=true
SocketMode=0600
Accept=true