diff --git a/etc/systemd/system/watchdog.service b/etc/systemd/system/watchdog.service index dd878e8..82be632 100644 --- a/etc/systemd/system/watchdog.service +++ b/etc/systemd/system/watchdog.service @@ -3,14 +3,14 @@ Description=Watchdog Monitor Service After=network.target getty@tty1.service [Service] -ExecStartPre=-/bin/sleep 10 +ExecStartPre=-/usr/bin/sleep 10 Type=simple User=loginuser -ExecStart=/usr/bin/watchdog/watchdog +ExecStart=/usr/bin/custom/watchdog Restart=on-failure RestartSec=5s -StandardOutput=append:/var/log/watchdog -StandardError=append:/var/log/watchdog +StandardOutput=append:/var/log/watchdog.log +StandardError=append:/var/log/watchdog.log [Install] WantedBy=multi-user.target