update systemd unit file
This commit is contained in:
parent
25c9ebcbef
commit
1617eae174
1 changed files with 14 additions and 2 deletions
|
@ -1,6 +1,18 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Hitman
|
Description=Hitman
|
||||||
After=network.target
|
After=network.target network-online.target
|
||||||
|
Requires=network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=%h/hitman/hitman -e %h/hitman/.env
|
Type=exec
|
||||||
|
User=hitman
|
||||||
|
Group=hitman
|
||||||
|
ExecStart=/var/lib/hitman/hitman -e /var/lib/hitman/.env
|
||||||
|
TimeoutStopSec=5s
|
||||||
|
LimitNOFILE=1048576
|
||||||
|
LimitNPROC=512
|
||||||
|
PrivateTmp=true
|
||||||
|
ProtectSystem=full
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Reference in a new issue