hitman/hitman.service

19 lines
329 B
SYSTEMD
Raw Permalink Normal View History

2024-03-30 20:59:31 +00:00
[Unit]
Description=Hitman
2024-03-31 21:18:42 +00:00
After=network.target network-online.target
Requires=network-online.target
2024-03-30 20:59:31 +00:00
[Service]
2024-03-31 21:18:42 +00:00
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