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

12 lines
225 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 keydown F5; xdotool keyup F5"
User=odoo
Group=users