Ajouter eth-monitor.service

This commit is contained in:
2026-01-14 12:52:36 +00:00
parent fe0cf29adb
commit f4e91c3b69

15
eth-monitor.service Normal file
View File

@@ -0,0 +1,15 @@
/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