From 0eaba61e82326cbfb9a1a1c6d96f573837df98a9 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Tue, 15 Sep 2015 18:14:48 +0200 Subject: systemd: Auto-restart the gitweb service. --- roles/git/files/lib/systemd/system/gitweb.service | 1 + 1 file changed, 1 insertion(+) (limited to 'roles/git/files/lib') diff --git a/roles/git/files/lib/systemd/system/gitweb.service b/roles/git/files/lib/systemd/system/gitweb.service index 05821ce..3ba1cc8 100644 --- a/roles/git/files/lib/systemd/system/gitweb.service +++ b/roles/git/files/lib/systemd/system/gitweb.service @@ -9,6 +9,7 @@ User=gitweb Group=gitweb Environment=SCRIPT_FILENAME=/usr/lib/cgi-bin/gitweb-wrapper.fcgi ExecStart=/usr/lib/cgi-bin/gitweb-wrapper.fcgi +Restart=on-failure [Install] WantedBy=multi-user.target -- cgit v1.2.3