PID directory created as needed.
This commit is contained in:
parent
365e780055
commit
6237a9bb10
@ -235,6 +235,7 @@ class Service
|
||||
end
|
||||
|
||||
def save_pid(pid_dir, new_pid)
|
||||
FileUtils.mkdir_p pid_dir
|
||||
File.write get_pid_file(pid_dir), new_pid
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user