Documentation: Fix init.d symbolic link commands

Update the symbolic link commands to be absolute so they are more
universal in site setup. Additionally, fix the commands so that
the service is stopped/started with the proper name.

Change-Id: Ia426d5b087350db59e02b8bfc46e5a660644dccd
This commit is contained in:
Kyle Laker 2013-03-08 01:05:10 -05:00
parent 3e4efb46db
commit 839edfca32
2 changed files with 4 additions and 4 deletions

View File

@ -101,8 +101,8 @@ To start automatically when the system boots, create a start
script and modify it for your configuration:
----
java -jar webapps/gerrit.war --cat extra/jetty7/gerrit-jetty.sh >/etc/init.d/gerrit-jetty.sh
vi /etc/init.d/gerrit-jetty.sh
java -jar webapps/gerrit.war --cat extra/jetty7/gerrit-jetty.sh >/etc/init.d/gerrit-jetty
vi /etc/init.d/gerrit-jetty
----
[TIP]

View File

@ -125,8 +125,8 @@ background, use the rc.d style start script created by 'init':
automatically starts and stops with the operating system:
====
sudo ln -snf `pwd`/review_site/bin/gerrit.sh /etc/init.d/gerrit.sh
sudo ln -snf ../init.d/gerrit.sh /etc/rc3.d/S90gerrit
sudo ln -snf `pwd`/review_site/bin/gerrit.sh /etc/init.d/gerrit
sudo ln -snf /etc/init.d/gerrit /etc/rc3.d/S90gerrit
====
To install Gerrit into an existing servlet container instead of using