advisory-circular/advisorycircular@.service
John Wiseman cafbca970e Reduce ADSBX API usage.
By default, run the bot script every 15 seconds instead of every 10.
And if there's an error, wait 30 seconds to restart instead of 10.
2020-05-28 12:35:11 -07:00

16 lines
337 B
Desktop File

[Unit]
Description=Advisory Circular twitter bot for %i
Documentation=https://gitlab.com/jjwiseman/advisory-circular/
Wants=network.target
After=network.target
[Service]
Type=simple
User=advisorycircular
Restart=always
RestartSec=30s
ExecStart=/usr/local/share/advisorycircular/advisorycircular %i
[Install]
WantedBy=multi-user.target