24 lines
537 B
Desktop File
24 lines
537 B
Desktop File
[Unit]
|
|
Description=Zabov Daemon
|
|
Documentation=https://git.keinpfusch.net/loweel/zabov
|
|
Wants=network.target
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory={{ zabov_installation_path }}
|
|
ExecStart={{ zabov_installation_path }}/zabov
|
|
User={{ zabov_user }}
|
|
Group={{ zabov_group }}
|
|
StateDirectory=zabov
|
|
Restart=always
|
|
RestartSec=60
|
|
KillMode=process
|
|
KillSignal=SIGINT
|
|
ProtectSystem=true
|
|
SecureBits=keep-caps
|
|
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
|
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|