veilid/package/systemd/veilid-server.service

20 lines
388 B
SYSTEMD
Raw Normal View History

2022-05-16 10:52:48 -05:00
# /etc/systemd/system/veilid-server.service
[Unit]
Description=The Veilid peer-to-peer network server
Requires=network-online.target
After=network-online.target
[Service]
2022-05-28 09:07:57 -05:00
Type=simple
2022-05-16 10:52:48 -05:00
ExecStart=/usr/bin/veilid-server
ExecReload=/bin/kill -s HUP $MAINPID
KillSignal=SIGQUIT
TimeoutStopSec=5
PrivateTmp=true
2022-05-28 09:07:57 -05:00
WorkingDirectory=/
User=veilid
Group=veilid
2022-05-16 10:52:48 -05:00
[Install]
WantedBy=multi-user.target