diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-01-27 19:51:47 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-01-27 20:07:14 +0200 |
commit | d52d0a17e64ea44ccd0438c86dd0e1518756b569 (patch) | |
tree | 00db33eca09db5ad1b76b2c93c39f94daff48bad | |
parent | c10b7f60a6b11fa8cfaac8ae82db886ef20731a5 (diff) | |
download | ick2-d52d0a17e64ea44ccd0438c86dd0e1518756b569.tar.gz |
Change: make systemd restart failed worker manager
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | ick2-worker-manager.service | 2 |
2 files changed, 5 insertions, 0 deletions
@@ -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 |