mirror of
https://github.com/gitlabhq/gitlab-recipes.git
synced 2026-01-09 14:37:57 -05:00
Merge pull request #278 from bjorn-oivind/systemd-remove_unused_files
systemd: remove unused (for 8.2.x onwards) files.
This commit is contained in:
@@ -39,5 +39,3 @@ Enable them to start at boot:
|
||||
* If you installed GitLab in other path than `/home/git/gitlab` change the service files accordingly.
|
||||
|
||||
* `/etc/systemd/system/` have a higher precedence over `/usr/lib/systemd/system`.
|
||||
|
||||
* If you are running Gitlab 8.0-8.1, use `gitlab-git-http-server.service` instead of `gitlab-workhorse.service`.
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
#####################################################
|
||||
#
|
||||
# GitLab version : 8.0 - 8.1
|
||||
# Contributors : davispuh, mtorromeo, axilleas, boeserwolf91, Stefan Tatschner (rumpelsepp)
|
||||
# Downloaded from : https://gitlab.com/gitlab-org/gitlab-recipes/tree/master/init/systemd
|
||||
#
|
||||
####################################################
|
||||
|
||||
[Unit]
|
||||
Description=Gitlab Git HTTP Worker
|
||||
Requires=gitlab-unicorn.service
|
||||
Wants=gitlab-unicorn.service
|
||||
After=gitlab-unicorn.service
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
User=git
|
||||
WorkingDirectory=/home/git/gitlab-git-http-server
|
||||
SyslogIdentifier=gitlab-git-http-server
|
||||
PIDFile=/home/git/gitlab/tmp/pids/gitlab-git-http-server.pid
|
||||
|
||||
ExecStart=/home/git/gitlab/bin/daemon_with_pidfile /home/git/gitlab/tmp/pids/gitlab-git-http-server.pid /home/git/gitlab-git-http-server/gitlab-git-http-server -listenUmask 0 -listenNetwork unix -listenAddr /home/git/gitlab/tmp/sockets/gitlab-git-http-server.socket -authBackend http://127.0.0.1:8080 /home/git/repositories >> /home/git/gitlab/log/gitlab-git-http-server.log 2>&1
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user