From 7b4a6f28eaeaadd74dae3c6316766bbf419515e5 Mon Sep 17 00:00:00 2001 From: Axilleas Pipinellis Date: Thu, 22 Aug 2013 03:43:39 +0300 Subject: [PATCH] Minor tweaks in readme --- init/systemd/README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/init/systemd/README.md b/init/systemd/README.md index 6e45cb1..ef4c285 100644 --- a/init/systemd/README.md +++ b/init/systemd/README.md @@ -5,10 +5,10 @@ GitLab requires a couple of services: * Redis server * Mail server (postfix or other) * GitLab Sidekiq service (`gitlab-sidekiq.service`) -* Unicorn (`gitlab-unicorn.service`) +* Unicorn service (`gitlab-unicorn.service`) -## Setup GitLab Sidekiq service +## Setup GitLab services Copy files to `/etc/systemd/system/`: @@ -20,24 +20,24 @@ wget -O gitlab-unicorn.service https://raw.github.com/gitlabhq/gitlab-recipes/ma wget -O gitlab.target https://raw.github.com/gitlabhq/gitlab-recipes/master/init/systemd/gitlab.target ``` -Reload systemd: +Reload systemd: sudo systemctl --system daemon-reload - + Start the services: sudo systemctl start gitlab-sidekiq gitlab-unicorn - + Enable them to start at boot: sudo systemctl enable gitlab-sidekiq gitlab-unicorn ## Notes -If you installed GitLab in other path than `/home/git/gitlab` change the service files accordingly. +* If you installed GitLab in other path than `/home/git/gitlab` change the service files accordingly. -`/etc/systemd/system/` have a higher precedence over `/lib/systemd/system`. +* `/etc/systemd/system/` have a higher precedence over `/lib/systemd/system`. -For older systemd versions you need to append `service` after the service name. For example: +* For older systemd versions you need to append `service` after the service name. For example: sudo systemctl start gitlab-sidekiq.service