mirror of
https://github.com/byReqz/probehost2.git
synced 2024-11-23 23:24:54 +00:00
add systemd unit file
This commit is contained in:
parent
fed9b40c86
commit
a62d199c8b
16
systemd/probehost2.service
Normal file
16
systemd/probehost2.service
Normal 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
|
Loading…
Reference in New Issue
Block a user