[Unit] Description=Ham Lab web console After=network.target [Service] Type=simple User=@USER@ Group=@GROUP@ # read the system journal without sudo (keeps the daemon's own log clean) SupplementaryGroups=systemd-journal adm WorkingDirectory=@HOME@ Environment=HAMLAB_CONFIG=@HOME@/apps/hamlab/config.json ExecStart=@PREFIX@/hamlab serve Restart=always RestartSec=3 KillMode=control-group TimeoutStopSec=10 [Install] WantedBy=multi-user.target