Update collabore-tunnel.service
This commit is contained in:
parent
8fba5f8ecb
commit
f52d1dcbd5
|
@ -22,6 +22,10 @@ Environment=LOG_DEPTH=2
|
||||||
WorkingDirectory=/opt/collabore-tunnel
|
WorkingDirectory=/opt/collabore-tunnel
|
||||||
ExecStart=/opt/collabore-tunnel/.env/bin/python3 main.py
|
ExecStart=/opt/collabore-tunnel/.env/bin/python3 main.py
|
||||||
ExecStop=/usr/bin/kill -9 $MAINPID
|
ExecStop=/usr/bin/kill -9 $MAINPID
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=10s
|
||||||
|
User=collabore-tunnel
|
||||||
|
Group=collabore-tunnel
|
||||||
|
|
||||||
# filesystem
|
# filesystem
|
||||||
TemporaryFileSystem=/:ro
|
TemporaryFileSystem=/:ro
|
||||||
|
|
Loading…
Reference in New Issue
Block a user