summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2018-01-27 19:51:47 +0200
committerLars Wirzenius <liw@liw.fi>2018-01-27 20:07:14 +0200
commitd52d0a17e64ea44ccd0438c86dd0e1518756b569 (patch)
tree00db33eca09db5ad1b76b2c93c39f94daff48bad
parentc10b7f60a6b11fa8cfaac8ae82db886ef20731a5 (diff)
downloadick2-d52d0a17e64ea44ccd0438c86dd0e1518756b569.tar.gz
Change: make systemd restart failed worker manager
-rw-r--r--NEWS3
-rw-r--r--ick2-worker-manager.service2
2 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 1d7459e..a4356ce 100644
--- a/NEWS
+++ b/NEWS
@@ -39,6 +39,9 @@ Version 0.23+git, not yet released
environment variable `LC_ALL` set to `C`, and `DEBIAN_FRONTEND` set
to `noninteractive`.
+* The systemd unit for the worker manager now restarts the worker
+ manager automatically if it crashes, after 10 seconds.
+
Version 0.23, released 2018-01-22
----------------------------------
diff --git a/ick2-worker-manager.service b/ick2-worker-manager.service
index a5ad0ab..c3319db 100644
--- a/ick2-worker-manager.service
+++ b/ick2-worker-manager.service
@@ -18,6 +18,8 @@ After=network.target
[Service]
Type=simple
+Restart=on-failure
+RestartSec=10s
User=_ickwm
Group=_ickwm
WorkingDirectory=/var/lib/ick/workspace