Commit dc937dc8 authored by Andrew Newdigate's avatar Andrew Newdigate 💬 Committed by Achilleas Pipinellis

Remove shell redirectors from Systemd

parent 830bf379
......@@ -13,13 +13,12 @@ Wants=gitlab-unicorn.service
After=gitlab-unicorn.service
[Service]
Type=forking
Type=simple
User=git
WorkingDirectory=/home/git/gitaly
SyslogIdentifier=gitlab-gitaly
PIDFile=/home/git/gitlab/tmp/pids/gitaly.pid
ExecStart=/home/git/gitlab/bin/daemon_with_pidfile /home/git/gitlab/tmp/pids/gitaly.pid /home/git/gitaly/gitaly /home/git/gitaly/config.toml >> /home/git/gitlab/log/gitaly.log 2>&1
ExecStart=/home/git/gitaly/gitaly /home/git/gitaly/config.toml
[Install]
WantedBy=multi-user.target
......@@ -13,13 +13,12 @@ Wants=gitlab-unicorn.service
After=gitlab-unicorn.service
[Service]
Type=forking
Type=simple
User=git
WorkingDirectory=/home/git/gitlab-workhorse
SyslogIdentifier=gitlab-workhorse
PIDFile=/home/git/gitlab/tmp/pids/gitlab-workhorse.pid
ExecStart=/home/git/gitlab/bin/daemon_with_pidfile /home/git/gitlab/tmp/pids/gitlab-workhorse.pid /home/git/gitlab-workhorse/gitlab-workhorse -listenUmask 0 -listenNetwork unix -listenAddr /home/git/gitlab/tmp/sockets/gitlab-workhorse.socket -authBackend http://127.0.0.1:8080 -authSocket /home/git/gitlab/tmp/sockets/gitlab.socket -secretPath /home/git/gitlab/.gitlab_workhorse_secret -documentRoot /home/git/gitlab/public >> /home/git/gitlab/log/gitlab-workhorse.log 2>&1
ExecStart=/home/git/gitlab-workhorse/gitlab-workhorse -listenUmask 0 -listenNetwork unix -listenAddr /home/git/gitlab/tmp/sockets/gitlab-workhorse.socket -authBackend http://127.0.0.1:8080 -authSocket /home/git/gitlab/tmp/sockets/gitlab.socket -secretPath /home/git/gitlab/.gitlab_workhorse_secret -documentRoot /home/git/gitlab/public
[Install]
WantedBy=multi-user.target
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment