Actualiser automated_shutdown/eth-monitor.service

This commit is contained in:
2026-01-14 12:53:13 +00:00
parent f4e91c3b69
commit 83d10090e6

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