Files
reflector-dashboard/install/systemd/svxdr.service
T

25 lines
991 B
Desktop File

# svxdr — live-data daemon for Reflector Dashboard. Install:
# sudo cp install/systemd/svxdr.service /etc/systemd/system/ && sudo systemctl daemon-reload && sudo systemctl enable --now svxdr
# Build and configure per INSTALL.md section 9.
[Unit]
Description=svxdr — merged svx daemon (astmeta + nodelist + proxy + xlink)
After=network-online.target redis-server.service
Wants=network-online.target
[Service]
Type=simple
# One binary, one config; which subsystems run is decided by "modules" in the
# JSON (or override with flags, e.g. ExecStart=... --nodelist --proxy).
ExecStart=/usr/local/bin/svxdr --config /etc/svxlink/svxdr.json
Restart=on-failure
RestartSec=3
# Reload config in place (SIGHUP) without dropping the process.
ExecReload=/bin/kill -HUP $MAINPID
# Match the file/socket permissions the old services used (redis socket, logs,
# /var/www network.json). Adjust User/Group to whatever nodelist ran as.
#User=root
LimitNOFILE=65536
[Install]
WantedBy=multi-user.target