create /var/run/gitlab/{pids,sockets}
This commit is contained in:
parent
37a6efbbaa
commit
ae52e6cd89
4 changed files with 8 additions and 0 deletions
2
debian/conf/gitlab-mailroom.service
vendored
2
debian/conf/gitlab-mailroom.service
vendored
|
@ -22,6 +22,8 @@ PIDFile=/usr/share/gitlab/tmp/pids/gitlab-mailroom.pid
|
|||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
|
||||
ExecStartPre=/usr/bin/install -o gitlab -g gitlab -m 2750 -d /var/run/gitlab/pids
|
||||
ExecStartPre=/usr/bin/install -o gitlab -g gitlab -m 2750 -d /var/run/gitlab/sockets
|
||||
ExecStart=/usr/share/gitlab/bin/mail_room start
|
||||
ExecStop=/usr/share/gitlab/bin/mail_room stop
|
||||
|
||||
|
|
2
debian/conf/gitlab-sidekiq.service
vendored
2
debian/conf/gitlab-sidekiq.service
vendored
|
@ -20,6 +20,8 @@ WorkingDirectory=/usr/share/gitlab
|
|||
EnvironmentFile=/etc/gitlab/gitlab-debian.conf
|
||||
SyslogIdentifier=gitlab-sidekiq
|
||||
|
||||
ExecStartPre=/usr/bin/install -o gitlab -g gitlab -m 2750 -d /var/run/gitlab/pids
|
||||
ExecStartPre=/usr/bin/install -o gitlab -g gitlab -m 2750 -d /var/run/gitlab/sockets
|
||||
ExecStart=/bin/sh bin/background_jobs start
|
||||
ExecStop=/bin/sh bin/background_jobs stop
|
||||
|
||||
|
|
2
debian/conf/gitlab-unicorn.service
vendored
2
debian/conf/gitlab-unicorn.service
vendored
|
@ -19,6 +19,8 @@ WorkingDirectory=/usr/share/gitlab
|
|||
EnvironmentFile=/etc/gitlab/gitlab-debian.conf
|
||||
SyslogIdentifier=gitlab-unicorn
|
||||
|
||||
ExecStartPre=/usr/bin/install -o gitlab -g gitlab -m 2750 -d /var/run/gitlab/pids
|
||||
ExecStartPre=/usr/bin/install -o gitlab -g gitlab -m 2750 -d /var/run/gitlab/sockets
|
||||
ExecStart=/bin/sh bin/web start
|
||||
ExecStop=/bin/sh bin/web stop
|
||||
|
||||
|
|
2
debian/conf/gitlab-workhorse.service
vendored
2
debian/conf/gitlab-workhorse.service
vendored
|
@ -21,6 +21,8 @@ EnvironmentFile=/etc/gitlab/gitlab-debian.conf
|
|||
SyslogIdentifier=gitlab-workhorse
|
||||
PIDFile=/var/run/gitlab/pids/gitlab-workhorse.pid
|
||||
|
||||
ExecStartPre=/usr/bin/install -o gitlab -g gitlab -m 2750 -d /var/run/gitlab/pids
|
||||
ExecStartPre=/usr/bin/install -o gitlab -g gitlab -m 2750 -d /var/run/gitlab/sockets
|
||||
ExecStart=/usr/share/gitlab/bin/daemon_with_pidfile /var/run/gitlab/pids/gitlab-workhorse.pid gitlab-workhorse -listenUmask 0 -listenNetwork unix -listenAddr /var/run/gitlab/sockets/gitlab-workhorse.socket -authBackend http://127.0.0.1:8080 -authSocket /var/run/gitlab/sockets/gitlab.socket -documentRoot /usr/share/gitlab/public >>/var/log/gitlab/gitlab-workhorse.log 2>&1
|
||||
|
||||
[Install]
|
||||
|
|
Loading…
Reference in a new issue