ansible-role-raspberry-display/roles/display/files/monitor_file_service_unit

12 lines
236 B
Plaintext

[Unit]
Description=Reload page in running browser
[Service]
Type=oneshot
Environment=DISPLAY=:0.0
Environment=XAUTHORITY=/home/odoo/.Xauthority
ExecStart=sh -c "xdotool key Super_L+F1; sleep 1; xdotool key F5"
User=odoo
Group=users