etc/systemd/system/chromium-monitor.service aktualisiert
This commit is contained in:
@@ -3,12 +3,10 @@ Description=A Service to monitor the Kiosk's current site
|
|||||||
After=network.target getty@tty1.service
|
After=network.target getty@tty1.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
# Wait until Chromium is running
|
ExecStartPre=-/bin/sleep 120
|
||||||
ExecStartPre=-/bin/bash -c 'while ! pgrep -f chromium-browser > /dev/null; do sleep 5; done'
|
|
||||||
ExecStartPre=-/usr/bin/sleep 20
|
|
||||||
Type=simple
|
Type=simple
|
||||||
User=loginuser
|
|
||||||
ExecStart=/usr/bin/chromium-monitor
|
ExecStart=/usr/bin/chromium-monitor
|
||||||
|
Restart=on-failure
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|||||||
Reference in New Issue
Block a user