| 1 |
[Unit] |
|
| 2 |
Description=Recover network uplink after NIC hardware hangs |
|
| 3 |
After=systemd-journald.service network.target |
|
| 4 |
Requires=systemd-journald.service |
|
| 5 | ||
| 6 |
[Service] |
|
| 7 |
Type=simple |
|
| 8 |
EnvironmentFile=-/etc/default/xdev-pve-net-hang-watchdog |
|
| 9 |
ExecStart=/usr/local/sbin/pve-net-hang-watchdog.sh |
|
| 10 |
Restart=always |
|
| 11 |
RestartSec=2 |
|
| 12 | ||
| 13 |
[Install] |
|
| 14 |
WantedBy=multi-user.target |