use tmpfiles.d for /run

This commit is contained in:
Praveen Arimbrathodiyil 2016-02-15 23:15:45 +05:30
parent 3c1489343b
commit 56a999065b
6 changed files with 2 additions and 8 deletions

1
debian/changelog vendored
View file

@ -3,6 +3,7 @@ gitlab (8.4.3+dfsg-7) UNRELEASED; urgency=medium
* bc should be in build-dep (Closes: #814695)
* fix pid file mismatch between /etc/default/gitlab and systemd service files
(Closes: #814713)
* use tmpfiles.d for /run/gitlab (Closes: #814713) Thanks to Christian Seiler
-- Pirate Praveen <praveen@debian.org> Mon, 15 Feb 2016 13:01:32 +0530

View file

@ -16,8 +16,6 @@ After=gitlab-unicorn.service
[Service]
User=gitlab
WorkingDirectory=/usr/share/gitlab
RuntimeDirectory=gitlab
RuntimeDirectoryMode=2750
EnvironmentFile=/etc/gitlab/gitlab-debian.conf
SyslogIdentifier=gitlab-mailroom
PIDFile=/run/gitlab/mail_room.pid

View file

@ -17,8 +17,6 @@ After=redis.service postgresql.service
Type=forking
User=gitlab
WorkingDirectory=/usr/share/gitlab
RuntimeDirectory=gitlab
RuntimeDirectoryMode=2750
EnvironmentFile=/etc/gitlab/gitlab-debian.conf
SyslogIdentifier=gitlab-sidekiq
PIDFile=/run/gitlab/sidekiq.pid

View file

@ -16,8 +16,6 @@ After=redis.service postgresql.service
[Service]
User=gitlab
WorkingDirectory=/usr/share/gitlab
RuntimeDirectory=gitlab
RuntimeDirectoryMode=2750
EnvironmentFile=/etc/gitlab/gitlab-debian.conf
SyslogIdentifier=gitlab-unicorn
PIDFile=/run/gitlab/unicorn.pid

View file

@ -17,8 +17,6 @@ After=gitlab-unicorn.service
Type=forking
User=gitlab
WorkingDirectory=/usr/share/gitlab
RuntimeDirectory=gitlab
RuntimeDirectoryMode=2750
EnvironmentFile=/etc/gitlab/gitlab-debian.conf
SyslogIdentifier=gitlab-workhorse
PIDFile=/run/gitlab/gitlab-workhorse.pid

1
debian/gitlab.tmpfiles vendored Normal file
View file

@ -0,0 +1 @@
d /run/gitlab 2750 gitlab gitlab -