services: Add irc-bot
This commit is contained in:
parent
15472589a9
commit
8f02606c7b
4 changed files with 53 additions and 6 deletions
15
roles/services/templates/irc-bot.service
Normal file
15
roles/services/templates/irc-bot.service
Normal file
|
@ -0,0 +1,15 @@
|
|||
# Managed by Ansible
|
||||
|
||||
[Unit]
|
||||
Description=Bitlair IRC bot
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/bin/bash /var/lib/irc-bot/irc-bot
|
||||
Restart=on-failure
|
||||
RestartSec=10s
|
||||
DynamicUser=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue