File tree 1 file changed +7
-6
lines changed
1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -53,11 +53,11 @@ VERBOSE=no
53
53
readonly EC_INVALID_ARGUMENT=2
54
54
readonly EC_SUPER_USER_ONLY=4
55
55
readonly EC_DAEMON_NOT_FOUND=5
56
- readonly EC_RELOADING_FAILED=95
57
- readonly EC_RESTART_STOP_FAILED=96
58
- readonly EC_RESTART_START_FAILED=97
59
- readonly EC_START_FAILED=98
60
- readonly EC_STOP_FAILED=99
56
+ readonly EC_RELOADING_FAILED=150
57
+ readonly EC_RESTART_STOP_FAILED=151
58
+ readonly EC_RESTART_START_FAILED=152
59
+ readonly EC_START_FAILED=153
60
+ readonly EC_STOP_FAILED=154
61
61
62
62
63
63
# ----------------------------------------------------------------------------------------------------------------------
@@ -224,7 +224,8 @@ readonly SSD_OPTIONS="--quiet --oknodo --pidfile "${PIDFILE}" --exec "${DAEMON}"
224
224
#
225
225
# 0 = Program is running
226
226
# 1 = Program is not running and the PID file exists.
227
- # 3 = Porgram is not running.
227
+ # 2 = Program is not running and a LOCK file exists.
228
+ # 3 = Program is not running.
228
229
# 4 = Unable to determine status.
229
230
start-stop-daemon --status ${SSD_OPTIONS} 2> /dev/null 1> /dev/null
230
231
readonly STATUS=$?
You can’t perform that action at this time.
0 commit comments