diff options
Diffstat (limited to 'roles/setup_git/templates/gitweb.service')
-rw-r--r-- | roles/setup_git/templates/gitweb.service | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/roles/setup_git/templates/gitweb.service b/roles/setup_git/templates/gitweb.service deleted file mode 100644 index 0b65b49..0000000 --- a/roles/setup_git/templates/gitweb.service +++ /dev/null @@ -1,28 +0,0 @@ - -# =========================================================================== # -# _ __ _ __ -# __ ______ (_) /_ ____ _(_) /_ -# / / / / __ \/ / __/ / __ `/ / __/ -# / /_/ / / / / / /__ / /_/ / / /_ -# \__,_/_/ /_/_/\__(_) \__, /_/\__/ -# /____/ -# -# =========================================================================== # - -[Unit] -Description=Gitweb interface for git repositories - -[Service] -Type=forking -User={{ git_user }} -Group={{ git_group }} -WorkingDirectory={{ git_directory_path }}/{{ git_gitweb_default_repository }} -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 |