Add Feature -- Add Supervisord

Daemon for Start/Stop Services GitLab

For installations from source code.

@axil @willmeek

Add Supervisord -- Start/Stop Services GitLab -- for installations from source code.

I am creating the start/stop scripts using the supervisord Golang Daemon

To simplify this gitlab init process.

I need to know what order to start the daemons.

curl -#kL -o /usr/local/bin/supervisord \
 https://github.com/ochinchina/supervisord/releases/download/v0.6.3/supervisord_static_0.6.3_linux_amd64
chmod +x /usr/local/bin/supervisord

mkdir -p /etc/gitlab/
touch /etc/gitlab/gitlab-services.conf
/usr/local/bin/supervisord -c /etc/gitlab/gitlab-services.conf -d

Systemd Service gitlab-services.service

[Unit]
Description=supervisord - Supervisor process control system for UNIX
Documentation=https://github.com/ochinchina/supervisord
After=network.target

[Service]
Type=forking
ExecStart=/usr/local/bin/supervisord -c /etc/gitlab/gitlab-services.conf
ExecReload=/usr/local/bin/supervisord ctl reload
ExecStop=/usr/local/bin/supervisord ctl shutdown
User=root

[Install]
WantedBy=multi-user.target
Edited by 🤖 GitLab Bot 🤖