change gitlab.target to gitlab.service
This commit is contained in:
parent
edec704950
commit
df90f8ac01
1 changed files with 3 additions and 3 deletions
6
debian/README.Debian
vendored
6
debian/README.Debian
vendored
|
@ -77,7 +77,7 @@ how to fix possible problems. Another one is:
|
|||
|
||||
To see service status with systemd, you can use:
|
||||
|
||||
$ systemctl status gitlab.target
|
||||
$ systemctl status gitlab.service -l
|
||||
$ systemctl status gitlab-unicorn.service -l
|
||||
$ systemctl status gitlab-sidekiq.service -l
|
||||
$ systemctl status gitlab-workhorse.service -l
|
||||
|
@ -98,7 +98,7 @@ Migrating from non-Debian gitlab
|
|||
2. Install Debian gitlab:
|
||||
$ apt-get install gitlab
|
||||
3. Stop gitlab services:
|
||||
$ systemctl stop gitlab.target
|
||||
$ systemctl stop gitlab.service
|
||||
4. Rename your old database to gitlab_production and set the user gitlab as
|
||||
its owner and the owner of all its tables, sequences and views
|
||||
$ su - postgres
|
||||
|
@ -125,7 +125,7 @@ Migrating from non-Debian gitlab
|
|||
# su gitlab
|
||||
$ /usr/share/gitlab-shell/bin/create-hooks
|
||||
12. Start gitlab:
|
||||
$ systemctl start gitlab.target
|
||||
$ systemctl start gitlab.service
|
||||
13. Check the installation:
|
||||
$ runuser -u gitlab -- sh -c 'cd /usr/share/gitlab && export $(cat /etc/gitlab/gitlab-debian.conf) && rake gitlab:check RAILS_ENV=production'
|
||||
|
||||
|
|
Loading…
Reference in a new issue