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