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