summaryrefslogtreecommitdiffstats
path: root/roles/git/files/lib/systemd/system
diff options
context:
space:
mode:
Diffstat (limited to 'roles/git/files/lib/systemd/system')
-rw-r--r--roles/git/files/lib/systemd/system/gitweb.service1
1 files changed, 1 insertions, 0 deletions
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
@@ -1,14 +1,15 @@
[Unit]
Description=Gitweb Service
After=network.target
Requires=gitweb.socket
[Service]
StandardInput=socket
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