Update
This commit is contained in:
parent
f43ba0da97
commit
e8b8122973
7 changed files with 104 additions and 6 deletions
|
|
@ -64,7 +64,7 @@ impl<'a, R> NodeJsSystemdUserService<'a, String, SetuidCommandRunner<'a, R>> whe
|
|||
let file_path = format!("{}/.config/systemd/user/{}.service", home.trim_right(), name);
|
||||
|
||||
let content = format!("[Service]
|
||||
ExecStartPre=rm /var/tmp/{1}-{2}.socket
|
||||
ExecStartPre=/bin/rm -f /var/tmp/{1}-{2}.socket
|
||||
# This only works if the path is a directory
|
||||
WorkingDirectory={0}
|
||||
ExecStart=/usr/bin/nodejs {0}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue