[Unit] Description=Ham Lab web console After=network.target # never give up restarting StartLimitIntervalSec=0 [Service] Type=simple User=@USER@ Group=@GROUP@ # read the system journal without sudo (keeps the daemon's own log clean) SupplementaryGroups=@GROUPS@ WorkingDirectory=-@HOME@ Environment=HAMLAB_CONFIG=@CONFIG@ ExecStart=@BIN@ serve Restart=always RestartSec=3 KillMode=control-group TimeoutStopSec=10 LimitNOFILE=65536 [Install] WantedBy=multi-user.target