15 lines
231 B
SYSTEMD
15 lines
231 B
SYSTEMD
|
[Unit]
|
||
|
Description=irc title bot
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
WorkingDirectory=/path/to/titlebot
|
||
|
ExecStart=./target/release/titlebot
|
||
|
Restart=always
|
||
|
RestartSec=5
|
||
|
StartLimitInterval=60s
|
||
|
StartLimitBurst=3
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=default.target
|