]> granicus.if.org Git - ejabberd/commitdiff
Fix start via systemd (#978)
authorChristophe Romain <christophe.romain@process-one.net>
Thu, 24 Mar 2016 10:06:42 +0000 (11:06 +0100)
committerChristophe Romain <christophe.romain@process-one.net>
Thu, 24 Mar 2016 10:06:42 +0000 (11:06 +0100)
ejabberd.service.template

index 79c2a6441016d831dc6715c65ab4af95b085a97b..80b15adbdd6508e25cec39987a202ef1656d2096 100644 (file)
@@ -7,7 +7,7 @@ User=ejabberd
 Group=ejabberd
 LimitNOFILE=16000
 RestartSec=5
-ExecStart=/bin/sh @ctlscriptpath@/ejabberdctl start
+ExecStart=@ctlscriptpath@/ejabberdctl start
 ExecStop=@ctlscriptpath@/ejabberdctl stop
 ExecReload=@ctlscriptpath@/ejabberdctl reload_config
 Type=oneshot