Merge pull request #1872 from runekaagaard/devel
Service mod.: Proper(?) handling of return code 69pull/4420/head
commit
bcdbb19549
|
@ -313,9 +313,7 @@ class LinuxService(Service):
|
|||
|
||||
# if the job status is still not known check it by response code
|
||||
if self.running == None:
|
||||
if rc == 3:
|
||||
self.running = False
|
||||
if rc == 2:
|
||||
if rc in [2, 3, 69]:
|
||||
self.running = False
|
||||
elif rc == 0:
|
||||
self.running = True
|
||||
|
|
Loading…
Reference in New Issue