Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
salt.3514
0082-fix-status-handling-in-sysv-init-scripts.p...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0082-fix-status-handling-in-sysv-init-scripts.patch of Package salt.3514
From 1ba69b95370eddd0dc54d683a8df449393d58b81 Mon Sep 17 00:00:00 2001 From: Michael Calmer <mc@suse.de> Date: Sun, 6 Nov 2016 18:11:15 +0100 Subject: [PATCH 82/82] fix status handling in sysv init scripts --- pkg/rpm/salt-api | 1 + pkg/suse/salt-master | 1 + pkg/suse/salt-minion | 2 ++ pkg/suse/salt-syndic | 1 + 4 files changed, 5 insertions(+) diff --git a/pkg/rpm/salt-api b/pkg/rpm/salt-api index 0d172bb..8d8c124 100755 --- a/pkg/rpm/salt-api +++ b/pkg/rpm/salt-api @@ -125,6 +125,7 @@ case "$1" in echo -n "Checking for service salt-api " checkproc $SALTAPI rc_status -v + RETVAL=$? elif [ -f $DEBIAN_VERSION ]; then if [ -f $LOCKFILE ]; then RETVAL=0 diff --git a/pkg/suse/salt-master b/pkg/suse/salt-master index 86c5fac..3932c21 100644 --- a/pkg/suse/salt-master +++ b/pkg/suse/salt-master @@ -108,6 +108,7 @@ case "$1" in echo -n "Checking for service salt-master " checkproc $SALTMASTER rc_status -v + RETVAL=$? elif [ -f $DEBIAN_VERSION ]; then if [ -f $LOCKFILE ]; then RETVAL=0 diff --git a/pkg/suse/salt-minion b/pkg/suse/salt-minion index 28cf32c..729ed71 100644 --- a/pkg/suse/salt-minion +++ b/pkg/suse/salt-minion @@ -57,6 +57,7 @@ start() { if [ -f $SUSE_RELEASE ]; then startproc -p /var/run/$SERVICE.pid $SALTMINION -d $MINION_ARGS rc_status -v + RETVAL=$? elif [ -e $DEBIAN_VERSION ]; then if [ -f $LOCKFILE ]; then echo -n "already started, lock file found" @@ -114,6 +115,7 @@ case "$1" in echo -n "Checking for service salt-minion " checkproc $SALTMINION rc_status -v + RETVAL=$? elif [ -f $DEBIAN_VERSION ]; then if [ -f $LOCKFILE ]; then RETVAL=0 diff --git a/pkg/suse/salt-syndic b/pkg/suse/salt-syndic index bcae966..eabc9c7 100644 --- a/pkg/suse/salt-syndic +++ b/pkg/suse/salt-syndic @@ -109,6 +109,7 @@ case "$1" in echo -n "Checking for service salt-syndic " checkproc $SALTSYNDIC rc_status -v + RETVAL=$? elif [ -f $DEBIAN_VERSION ]; then if [ -f $LOCKFILE ]; then RETVAL=0 -- 2.10.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor