diff options
author | Michael Taboada | 2018-04-26 15:41:08 -0500 |
---|---|---|
committer | Michael Taboada | 2018-04-26 15:41:08 -0500 |
commit | 82dd962d9f2dc0de9d1a5fe3c7909d0f590d3ef5 (patch) | |
tree | 101e2bfd14b4e24407bf6b4cfb76b1628e0d5cde /gitlab-unicorn.service | |
parent | fe528d5b32889361ef39699717a6344110875b85 (diff) | |
download | aur-82dd962d9f2dc0de9d1a5fe3c7909d0f590d3ef5.tar.gz |
Updated to 10.7.1
Diffstat (limited to 'gitlab-unicorn.service')
-rw-r--r-- | gitlab-unicorn.service | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/gitlab-unicorn.service b/gitlab-unicorn.service index 47d064de85e4..3e2a39a5b239 100644 --- a/gitlab-unicorn.service +++ b/gitlab-unicorn.service @@ -3,22 +3,26 @@ Description=GitLab Unicorn Server Requires=redis.service Wants=mysqld.service postgresql.service After=redis.service mysqld.service postgresql.service network.target +StartLimitIntervalSec=100s [Service] User=gitlab Group=gitlab WorkingDirectory=<DATADIR> -Environment=RAILS_ENV=production PATH=/opt/ruby/bin:/usr/bin +Environment=RAILS_ENV=production PATH=/opt/ruby2.3/bin:/usr/bin SyslogIdentifier=gitlab-unicorn PIDFile=/run/gitlab/unicorn.pid RuntimeDirectory=gitlab RuntimeDirectoryMode=775 -CapabilityBoundingSet= PrivateTmp=true PrivateDevices=true ProtectSystem=full ProtectHome=true -NoNewPrivileges=true +# These options break Gitlab's email delivery if you +# use postfix' sendmail wrapper. If you use an SMTP server +# instead you can safely enable these security features. +#NoNewPrivileges=true +#CapabilityBoundingSet= ExecStart=/usr/bin/bundle-2.3 exec unicorn_rails -c <DATADIR>/config/unicorn.rb -E production ExecStop=/usr/bin/kill -QUIT $MAINPID ExecReload=/usr/bin/kill -USR2 $MAINPID |