forked from bitlair/ansible
services/irc-bot: Always restart
This commit is contained in:
parent
a147aaf11a
commit
ee90c99080
3 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,7 @@ After=network.target
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/bin/bash /var/lib/irc-bot/irc-bot
|
ExecStart=/bin/bash /var/lib/irc-bot/irc-bot
|
||||||
Restart=on-failure
|
Restart=always
|
||||||
RestartSec=10s
|
RestartSec=10s
|
||||||
DynamicUser=true
|
DynamicUser=true
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ Requires=irc-bot.service
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/bin/bash /var/lib/irc-helpers/doorduino.sh
|
ExecStart=/bin/bash /var/lib/irc-helpers/doorduino.sh
|
||||||
Restart=on-failure
|
Restart=always
|
||||||
RestartSec=10s
|
RestartSec=10s
|
||||||
DynamicUser=true
|
DynamicUser=true
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ Requires=irc-bot.service
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/bin/bash /var/lib/irc-helpers/photos.sh
|
ExecStart=/bin/bash /var/lib/irc-helpers/photos.sh
|
||||||
Restart=on-failure
|
Restart=always
|
||||||
RestartSec=10s
|
RestartSec=10s
|
||||||
DynamicUser=true
|
DynamicUser=true
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue