fix script
This commit is contained in:
parent
da6632c7f8
commit
c861d40197
@ -7,7 +7,7 @@ Type=simple
|
|||||||
User=root
|
User=root
|
||||||
Group=root
|
Group=root
|
||||||
WorkingDirectory=/root/ss
|
WorkingDirectory=/root/ss
|
||||||
ExecStartPre=/usr/bin/bash -c 'docker ps | grep headless-fox | sed 's/ .*//' | xargs -I {} docker rm -f {}'
|
ExecStartPre=/usr/bin/bash -c "docker ps | grep headless-fox | sed 's/ .*//' | xargs -I {} docker rm -f {}"
|
||||||
ExecStart=node /root/ss
|
ExecStart=node /root/ss
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartSec=1s
|
RestartSec=1s
|
||||||
|
Loading…
Reference in New Issue
Block a user