Update collabore-tunnel.service

This commit is contained in:
Gaëtan L. H.-F. 2023-05-24 14:55:07 +02:00
parent 8fba5f8ecb
commit f52d1dcbd5

View File

@ -22,6 +22,10 @@ Environment=LOG_DEPTH=2
WorkingDirectory=/opt/collabore-tunnel
ExecStart=/opt/collabore-tunnel/.env/bin/python3 main.py
ExecStop=/usr/bin/kill -9 $MAINPID
Restart=on-failure
RestartSec=10s
User=collabore-tunnel
Group=collabore-tunnel
# filesystem
TemporaryFileSystem=/:ro