xwords/xwords4/relay/scripts/fcm-loop.service
2020-08-23 20:08:15 -07:00

16 lines
424 B
Desktop File

[Unit]
Description=Loop to check xwrelay and post to devices via FCM
After=postgresql.service
[Service]
User=eehouse
WorkingDirectory=/var/www/html/xw4
ExecStart=/var/www/html/xw4/fcm_loop.py --loop 5
Restart=on-failure
RestartPreventExitStatus=255
# simple - A long-running process that does not background its self and stays attached to the shell.
Type=simple
[Install]
WantedBy=multi-user.target
Alias=fcm-loop.service