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.1 -r1.2 --- openacs-4/packages/acs-core-docs/www/install-daemontools.html 24 Jun 2003 03:58:11 -0000 1.1 +++ openacs-4/packages/acs-core-docs/www/install-daemontools.html 28 Jun 2003 05:07:01 -0000 1.2 @@ -4,10 +4,11 @@ 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

    • Red Hat

      Make sure you have the source tarball in + services.

      1. Install Daemontools

        • Red Hat

          Make sure you have the source tarball in /tmp, or download it. (The -p flag in mkdir causes all implied directories in the path - to be made as well.)

          (If you are using Red Hat 9.0, you need to put #include <errno.h> as the first line of /package/admin/daemontools-0.76/src/error.h. More information)

          [root@yourserver root]# mkdir -p /package
          +              to be made as well.)

          (Red Hat 9.0: put +

          #include <errno.h>

          as the first line of /package/admin/daemontools-0.76/src/error.h. More information)

          [root@yourserver root]# mkdir -p /package
           [root@yourserver root]# chmod 1755 /package/
           [root@yourserver root]# cd /package/
           [root@yourserver package]# tar xzf /tmp/daemontools-0.76.tar.gz
          @@ -24,13 +25,13 @@
           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 +package/install

      3. 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@yourserver 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@yourserver root]#
  3. Install a script to grant non-root users permission to - control daemontools services.

    [root@yourserver root]# cp /tmp/openacs-5.0.0/packages/acs-core-docs/www/files/svgroup.txt /usr/local/bin/svgroup
    +        control daemontools services.

    [root@yourserver root]# cp /tmp/openacs-4.7.0d/packages/acs-core-docs/www/files/svgroup.txt /usr/local/bin/svgroup
     [root@yourserver root]# chmod 755 /usr/local/bin/svgroup
    -
    cp /tmp/openacs-5.0.0/packages/acs-core-docs/www/files/svgroup.txt /usr/local/bin/svgroup 
    +
    cp /tmp/openacs-4.7.0d/packages/acs-core-docs/www/files/svgroup.txt /usr/local/bin/svgroup 
     chmod 755 /usr/local/bin/svgroup
View comments on this page at openacs.org