Delete the PID file when stopping the service.

master
Philippe PITTOLI 4 years ago
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…
Cancel
Save