fix systemd unit
This commit is contained in:
parent
4ba3a4440c
commit
22328683ea
1 changed files with 4 additions and 1 deletions
|
@ -3,7 +3,10 @@ Description=Safe Harbor SSH tunnel
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=$i
|
User=%i
|
||||||
ExecStart=/usr/bin/python3 /usr/lib/safe-harbor/safe-harbor.py
|
ExecStart=/usr/bin/python3 /usr/lib/safe-harbor/safe-harbor.py
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=90
|
RestartSec=90
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue