cafbca970e
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.
16 lines
337 B
Desktop File
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
|