Index: openacs-4/packages/acs-core-docs/www/install-daemontools.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/install-daemontools.html,v diff -u -r1.44 -r1.44.2.1 --- openacs-4/packages/acs-core-docs/www/install-daemontools.html 25 Apr 2018 08:38:27 -0000 1.44 +++ openacs-4/packages/acs-core-docs/www/install-daemontools.html 2 Mar 2019 19:30:05 -0000 1.44.2.1 @@ -1,19 +1,10 @@ -Install Daemontools (OPTIONAL)

Install Daemontools (OPTIONAL)

- -

Daemontools is a collection of programs for controlling +Install Daemontools (OPTIONAL)

Install Daemontools (OPTIONAL)

Daemontools is a collection of programs for controlling other processes. We use daemontools to run and monitor AOLserver. It is installed in /package. These commands install daemontools and svgroup. svgroup is a script for granting permissions, to allow users other than root to use daemontools for specific - services.

-
  1. -

    Install Daemontools

    - -

    download daemontools and install it.

    -
    • -

      Red Hat 8

      -
      [root root]# mkdir -p /package
      +      services.

      1. Install Daemontools

        download daemontools and install it.

        • Red Hat 8

          [root root]# mkdir -p /package
           [root root]# chmod 1755 /package/
           [root root]# cd /package/
           [root package]# tar xzf /tmp/daemontools-0.76.tar.gz
          @@ -25,18 +16,14 @@
           Adding svscanboot to inittab...
           init should start svscan now.
           [root root]#
          -mkdir -p /package 
          +mkdir -p /package 
           chmod 1755 /package 
           cd /package 
           tar xzf /tmp/daemontools-0.76.tar.gz 
           cd admin/daemontools-0.76 
          -package/install
          -
        • -

          Red Hat 9, Fedora Core 1-4

          -

          Make sure you have the source tarball in +package/install

    • Red Hat 9, Fedora Core 1-4

      Make sure you have the source tarball in /tmp, or download it. -

      -
      [root root]# mkdir -p /package
      +

      [root root]# mkdir -p /package
       [root root]# chmod 1755 /package/
       [root root]# cd /package/
       [root package]# tar xzf /tmp/daemontools-0.76.tar.gz
      @@ -61,21 +48,17 @@
       Adding svscanboot to inittab...
       init should start svscan now.
       [root root]#
      -mkdir -p /package 
      +mkdir -p /package 
       chmod 1755 /package 
       cd /package 
       tar xzf /tmp/daemontools-0.76.tar.gz 
       cd admin
       wget http://moni.csi.hu/pub/glibc-2.3.1/daemontools-0.76.errno.patch
       cd daemontools-0.76
       patch -p1 < ../daemontools-0.76.errno.patch
      -package/install
      -
    • -

      FreeBSD (follow standard install)

      -

      Make sure you have the source tarball in +package/install

    • FreeBSD (follow standard install)

      Make sure you have the source tarball in /tmp, or download it. -

      -
      [root root]# mkdir -p /package
      +

      [root root]# mkdir -p /package
       [root root]# chmod 1755 /package/
       [root root]# cd /package/
       [root package]# tar xzf /tmp/daemontools-0.76.tar.gz
      @@ -86,30 +69,18 @@
       Adding svscanboot to inittab...
       init should start svscan now.
       [root root]#
      -mkdir -p /package 
      +mkdir -p /package 
       chmod 1755 /package 
       cd /package 
       tar xzf /tmp/daemontools-0.76.tar.gz 
       cd admin/daemontools-0.76
      -package/install
      -
    • -

      Debian

      -
      [root ~]# apt-get install daemontools-installer
      -[root ~]# build-daemontools
      -
    -
  2. -

    Verify that svscan is running. If it is, you should see - these two processes running:

    -
    [root root]# ps -auxw | grep service
    +package/install
  3. Debian

    [root ~]# apt-get install daemontools-installer
    +[root ~]# build-daemontools
  • Verify that svscan is running. If it is, you should see + these two processes running:

    [root root]# ps -auxw | grep service
     root     13294  0.0  0.1  1352  272 ?        S    09:51   0:00 svscan /service
     root     13295  0.0  0.0  1304  208 ?        S    09:51   0:00 readproctitle service errors: .......................................
    -[root root]#
    -
  • -

    Install a script to grant non-root users permission to - control daemontools services.

    -
    [root root]# cp /tmp/openacs-5.9.0/packages/acs-core-docs/www/files/svgroup.txt /usr/local/bin/svgroup
    +[root root]#
  • Install a script to grant non-root users permission to + control daemontools services.

    [root root]# cp /tmp/openacs-5.9.0/packages/acs-core-docs/www/files/svgroup.txt /usr/local/bin/svgroup
     [root root]# chmod 755 /usr/local/bin/svgroup
    -cp /tmp/openacs-5.9.0/packages/acs-core-docs/www/files/svgroup.txt /usr/local/bin/svgroup 
    -chmod 755 /usr/local/bin/svgroup
    -
  • -
    +cp /tmp/openacs-5.9.0/packages/acs-core-docs/www/files/svgroup.txt /usr/local/bin/svgroup +chmod 755 /usr/local/bin/svgroup