26 lines
810 B
Diff
26 lines
810 B
Diff
|
From 46713681bda8e45667691fbda6efe808c81574b1 Mon Sep 17 00:00:00 2001
|
||
|
From: Bo Maryniuk <bo@suse.de>
|
||
|
Date: Mon, 23 May 2016 17:29:15 +0200
|
||
|
Subject: [PATCH 8/8] Prevent several minion processes on the same machine
|
||
|
|
||
|
---
|
||
|
pkg/suse/salt-minion | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/pkg/suse/salt-minion b/pkg/suse/salt-minion
|
||
|
index c476fab..28cf32c 100644
|
||
|
--- a/pkg/suse/salt-minion
|
||
|
+++ b/pkg/suse/salt-minion
|
||
|
@@ -55,7 +55,7 @@ RETVAL=0
|
||
|
start() {
|
||
|
echo -n $"Starting salt-minion daemon: "
|
||
|
if [ -f $SUSE_RELEASE ]; then
|
||
|
- startproc -f -p /var/run/$SERVICE.pid $SALTMINION -d $MINION_ARGS
|
||
|
+ startproc -p /var/run/$SERVICE.pid $SALTMINION -d $MINION_ARGS
|
||
|
rc_status -v
|
||
|
elif [ -e $DEBIAN_VERSION ]; then
|
||
|
if [ -f $LOCKFILE ]; then
|
||
|
--
|
||
|
2.8.3
|
||
|
|