Files
ascoetpi/eth-monitor.service
2026-01-14 12:52:36 +00:00

15 lines
268 B
Desktop File

/etc/systemd/system/eth-monitor.service
[Unit]
Description=Ethernet Connection Monitor
After=network.target
[Service]
Type=simple
ExecStart=/usr/local/bin/check_eth_connection.sh
Restart=on-failure
RestartSec=60
TimeoutStopSec=5
[Install]
WantedBy=multi-user.target