salt/pkg/suse/use-forking-daemon.patch

18 lines
541 B
Diff
Raw Normal View History

Index: salt-2014.1.8/pkg/salt-master.service
===================================================================
2014-10-27 21:47:30 +00:00
--- salt-2014.1.13.orig/pkg/salt-master.service
+++ salt-2014.1.13/pkg/salt-master.service
@@ -3,8 +3,10 @@ Description=The Salt Master Server
After=syslog.target network.target
[Service]
-Type=notify
-ExecStart=/usr/bin/salt-master
+Type=forking
+ExecStart=/usr/bin/salt-master --daemon
+# Daemon mode doesn't seem to work reliably without PIDFile
+PIDFile=/var/run/salt-master.pid
[Install]
WantedBy=multi-user.target