2022-05-16 11:52:48 -04:00
|
|
|
# /etc/systemd/system/veilid-server.service
|
|
|
|
|
|
|
|
[Unit]
|
2023-06-16 19:58:06 -04:00
|
|
|
Description=Veilid Headless Node
|
2022-05-16 11:52:48 -04:00
|
|
|
Requires=network-online.target
|
|
|
|
After=network-online.target
|
|
|
|
|
|
|
|
[Service]
|
2022-05-28 10:07:57 -04:00
|
|
|
Type=simple
|
2023-06-16 19:58:06 -04:00
|
|
|
Environment=RUST_BACKTRACE=1
|
2022-05-16 11:52:48 -04:00
|
|
|
ExecStart=/usr/bin/veilid-server
|
|
|
|
ExecReload=/bin/kill -s HUP $MAINPID
|
|
|
|
KillSignal=SIGQUIT
|
|
|
|
TimeoutStopSec=5
|
|
|
|
PrivateTmp=true
|
2022-05-28 10:07:57 -04:00
|
|
|
WorkingDirectory=/
|
|
|
|
User=veilid
|
|
|
|
Group=veilid
|
2022-05-16 11:52:48 -04:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|