mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
18 lines
541 B
Diff
18 lines
541 B
Diff
Index: salt-2014.1.8/pkg/salt-master.service
|
|
===================================================================
|
|
--- 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
|