summarylogtreecommitdiffstats
path: root/gitlab-unicorn.service
diff options
context:
space:
mode:
authorCaleb Maclennan2016-04-09 07:15:40 +0000
committerCaleb Maclennan2016-04-09 07:47:04 +0000
commit28e3a5d0dae4783de778b89af13528355f16b4b8 (patch)
tree5cdcbea6a5cde5ab1f3b0c9fa1a3e2bb4775f4ba /gitlab-unicorn.service
parent0f6ff0dd25f96ff36eb5d24bdee03ff2a662023d (diff)
downloadaur-28e3a5d0dae4783de778b89af13528355f16b4b8.tar.gz
Normalize PID location for Sidekiq where Gitlab's is and drop bogus log redirection
The log redirection trips up systemd as it can't actually show anything useful about the state of the process in the system journal or with `systemctl status`. We're already logging the process messages from the main Gitlab service the normal systemd way, so let it happen for Sidekiq too.
Diffstat (limited to 'gitlab-unicorn.service')
-rw-r--r--gitlab-unicorn.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab-unicorn.service b/gitlab-unicorn.service
index 780fa6b98fa9..f242593796dc 100644
--- a/gitlab-unicorn.service
+++ b/gitlab-unicorn.service
@@ -22,7 +22,7 @@ ProtectSystem=full
ProtectHome=true
NoNewPrivileges=true
-ExecStart=/usr/bin/bundle-2.1 exec "unicorn_rails -c <DATADIR>/config/unicorn.rb -E production"
+ExecStart=/usr/bin/bundle-2.1 exec unicorn_rails -c <DATADIR>/config/unicorn.rb -E production
ExecStop=/usr/bin/kill -QUIT $MAINPID
ExecReload=/usr/bin/kill -USR2 $MAINPID