Delete the PID file when stopping the service.
This commit is contained in:
parent
1c80a80158
commit
10cd792373
@ -319,6 +319,7 @@ class Service
|
||||
end
|
||||
|
||||
Process.waitpid _pid
|
||||
File.delete(get_pid_file pid_dir)
|
||||
else
|
||||
# Already stopped or dead, nothing to be done here.
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user