2021-05-06 11:46:02 -05:00
|
|
|
[Unit]
|
2021-08-27 07:30:39 -05:00
|
|
|
Description=IRC title bot
|
2021-05-06 11:46:02 -05:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
WorkingDirectory=/path/to/titlebot
|
2021-07-15 14:23:31 -05:00
|
|
|
ExecStart=./target/release/titlebot /path/to/config.toml
|
2021-05-06 11:46:02 -05:00
|
|
|
Restart=always
|
|
|
|
RestartSec=5
|
|
|
|
StartLimitInterval=60s
|
|
|
|
StartLimitBurst=3
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=default.target
|