diff options
Diffstat (limited to 'roles/setup_git')
-rw-r--r-- | roles/setup_git/templates/gitweb.service | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/setup_git/templates/gitweb.service b/roles/setup_git/templates/gitweb.service index 12e1eb4..0b65b49 100644 --- a/roles/setup_git/templates/gitweb.service +++ b/roles/setup_git/templates/gitweb.service @@ -21,5 +21,8 @@ ExecStart=/usr/bin/git instaweb --port={{ g_port_gitweb_gui }} ExecStop=/bin/kill -s HUP $MAINPID RuntimeDirectoryMode=0700 +Restart=on-failure +RestartSec=60s + [Install] WantedBy=default.target |