mirror of
https://gitlab.com/veilid/veilid.git
synced 2024-12-18 12:14:44 -05:00
20 lines
442 B
SYSTEMD
20 lines
442 B
SYSTEMD
|
# /etc/systemd/system/veilid-server.service
|
||
|
|
||
|
[Unit]
|
||
|
Description=The Veilid peer-to-peer network server
|
||
|
Requires=network-online.target
|
||
|
After=network-online.target
|
||
|
|
||
|
[Service]
|
||
|
Type=forking
|
||
|
PIDFile=/run/veilid-server.pid
|
||
|
ExecStartPre=/usr/bin/rm -f /run/veilid-server.pid
|
||
|
ExecStart=/usr/bin/veilid-server
|
||
|
ExecReload=/bin/kill -s HUP $MAINPID
|
||
|
KillSignal=SIGQUIT
|
||
|
TimeoutStopSec=5
|
||
|
KillMode=mixed
|
||
|
PrivateTmp=true
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|