# /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=simple
ExecStart=/usr/bin/veilid-server
ExecReload=/bin/kill -s HUP $MAINPID
KillSignal=SIGQUIT
TimeoutStopSec=5
PrivateTmp=true
WorkingDirectory=/
User=veilid
Group=veilid

[Install]
WantedBy=multi-user.target