diff --git a/systemd/probehost2.service b/systemd/probehost2.service new file mode 100644 index 0000000..ca0dc49 --- /dev/null +++ b/systemd/probehost2.service @@ -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 \ No newline at end of file