Some small fixes
This commit is contained in:
parent
d173198729
commit
42690f1d50
7 changed files with 46 additions and 24 deletions
|
|
@ -36,7 +36,7 @@ pub fn nodejs_service<N: AsRef<Path>, S: AsRef<Path>>(
|
|||
&format!(
|
||||
"Environment=NODE_ENV=production
|
||||
Environment=PORT={0}
|
||||
ExecStartPost=/bin/sh -c 'sleep 1 && chmod 666 {0}'
|
||||
ExecStartPost=/bin/sh -c 'for i in 1 2 3 4 5 6 7 8 9 10; do sleep 0.5; chmod 666 {0} && break; done'
|
||||
#RuntimeDirectory=service
|
||||
#RuntimeDirectoryMode=766",
|
||||
socket_path.as_ref().to_str().unwrap()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue