fix systemd check
This commit is contained in:
parent
c711544bdb
commit
7b1c595b19
2 changed files with 7 additions and 3 deletions
8
debian/changelog
vendored
8
debian/changelog
vendored
|
@ -1,7 +1,11 @@
|
|||
gitlab (8.4.3+dfsg-2) UNRELEASED; urgency=medium
|
||||
|
||||
[ Balasankar C]
|
||||
* Add email configuration via sendmail method
|
||||
[ Balasankar C ]
|
||||
* Add email configuration via sendmail method
|
||||
|
||||
[ Pirate Praveen ]
|
||||
* Download certificates via letsencrypt
|
||||
* Check /proc/1/cmdline for systemd (Closes: #814413)
|
||||
|
||||
-- Pirate Praveen <praveen@debian.org> Wed, 10 Feb 2016 23:23:18 +0530
|
||||
|
||||
|
|
2
debian/rake-tasks.sh
vendored
2
debian/rake-tasks.sh
vendored
|
@ -12,7 +12,7 @@ echo "Precompiling assets..."
|
|||
su ${gitlab_user} -s /bin/sh -c 'bundle exec rake assets:precompile RAILS_ENV=production'
|
||||
|
||||
# Start gitlab
|
||||
if grep systemd /proc/cmdline
|
||||
if grep systemd /proc/1/cmdline
|
||||
then
|
||||
systemctl start gitlab.target
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue