1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
---
speech-dispatcherd.service.in | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
--- a/speech-dispatcherd.service.in
+++ b/speech-dispatcherd.service.in
@@ -3,7 +3,9 @@ Description=Speech-Dispatcher, common in
[Service]
Type=forking
-ExecStart=@bindir@/speech-dispatcher -d -t 0
+User=speech-dispatcher
+PIDFile=/run/speech-dispatcher/speech-dispatcher.pid
+ExecStart=@bindir@/speech-dispatcher -d -t 0 --pid-file /run/speech-dispatcher/speech-dispatcher.pid
ExecReload=/bin/kill -HUP $MAINPID
[Install]
|