From a62d199c8b4db72e462741b43fae627a7a19424f Mon Sep 17 00:00:00 2001 From: Nils Date: Tue, 28 Dec 2021 04:11:50 +0100 Subject: [PATCH] add systemd unit file --- systemd/probehost2.service | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 systemd/probehost2.service 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