fix script

This commit is contained in:
Kuba Orlik 2022-07-08 10:53:25 +02:00
parent da6632c7f8
commit c861d40197

View File

@ -7,7 +7,7 @@ Type=simple
User=root
Group=root
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
Restart=on-failure
RestartSec=1s