Commit 2ec73145 authored by Birger Schacht's avatar Birger Schacht

Only restart errbot on failure

parent 05e9e164
Pipeline #42458 passed with stages
in 6 minutes and 34 seconds
......@@ -8,7 +8,7 @@ Environment="LC_ALL=en_US.UTF-8"
ExecStartPre=mkdir -p /var/lib/errbot-%i/plugins /var/lib/errbot-%i/data
ExecStart=/usr/bin/errbot --config /etc/errbot/%i-config.py
WorkingDirectory=/var/lib/errbot-%i/
Restart=always
Restart=on-failure
KillSignal=SIGINT
PrivateDevices=yes
NoNewPrivileges=yes
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment