etc/systemd/system/watchdog.service aktualisiert
This commit is contained in:
@@ -1,14 +1,12 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Watchdog Monitor Service
|
Description=Watchdog Monitor Service
|
||||||
After=network.target getty@tty1.service
|
#After=network.target getty@tty1.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStartPre=-/usr/bin/sleep 10
|
ExecStartPre=-/usr/bin/sleep 10
|
||||||
Type=simple
|
Type=simple
|
||||||
User=loginuser
|
User=loginuser
|
||||||
ExecStart=/usr/bin/custom/watchdog
|
ExecStart=/usr/bin/custom/watchdog
|
||||||
Restart=on-failure
|
|
||||||
RestartSec=5s
|
|
||||||
StandardOutput=append:/var/log/watchdog.log
|
StandardOutput=append:/var/log/watchdog.log
|
||||||
StandardError=append:/var/log/watchdog.log
|
StandardError=append:/var/log/watchdog.log
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user