fix systemd check

This commit is contained in:
Praveen Arimbrathodiyil 2016-02-12 00:16:44 +05:30
parent c711544bdb
commit 7b1c595b19
2 changed files with 7 additions and 3 deletions

8
debian/changelog vendored
View file

@ -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

View file

@ -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