go-prober/units/probe.service

9 lines
236 B
INI

[Unit]
Description=Probe network for disconnections on long-lived connections
[Service]
Type=simple
ExecStart=/usr/local/bin/probe -addr ${PROBE_HOST} -port ${PROBE_PORT} -log-file /var/log/probe/probe.log
Restart=always
RestartSec=60