add systemd unit file

This commit is contained in:
Nils 2021-12-28 04:11:50 +01:00
parent fed9b40c86
commit a62d199c8b
Signed by: byreqz
GPG Key ID: 396A62D7D436749E

View File

@ -0,0 +1,16 @@
# systemd service file for probehost2
[Unit]
Description=probehost2 daemon
Wants=network.target
After=network-online.target
StartLimitBurst=5
StartLimitIntervalSec=20
[Service]
Restart=always
RestartSec=1
ExecStart=/bin/probehost2 --logfilepath "/var/log/probehost2.log" --port 8000
[Install]
WantedBy=multi-user.target