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.42 -r1.43 --- openacs-4/packages/acs-core-docs/www/install-daemontools.html 7 Aug 2017 23:47:50 -0000 1.42 +++ openacs-4/packages/acs-core-docs/www/install-daemontools.html 8 Nov 2017 09:42:10 -0000 1.43 @@ -1,10 +1,19 @@ -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
          @@ -16,14 +25,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
        • 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
      @@ -48,17 +61,21 @@
       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
      @@ -69,18 +86,30 @@
       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 + +