Index: openacs-4/packages/acs-core-docs/www/install-daemontools.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/install-daemontools.adp,v diff -u -r1.4.2.8 -r1.4.2.9 --- openacs-4/packages/acs-core-docs/www/install-daemontools.adp 27 Apr 2022 16:52:20 -0000 1.4.2.8 +++ openacs-4/packages/acs-core-docs/www/install-daemontools.adp 13 Jul 2023 12:43:20 -0000 1.4.2.9 @@ -1,11 +1,12 @@ -{/doc/acs-core-docs {ACS Core Documentation}} {Install Daemontools (OPTIONAL)} +{/doc/acs-core-docs/ {ACS Core Documentation}} {Install Daemontools (OPTIONAL)} Install Daemontools (OPTIONAL)

@@ -15,11 +16,12 @@ svgroup. svgroup is a script for granting permissions, to allow users other than root to use daemontools for specific services.

  1. -

    Install Daemontools

    +

    Install Daemontools

    download daemontools and install it.

    • -

      Red Hat 8

      [root root]# mkdir -p /package
      +

      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
      @@ -40,7 +42,8 @@
       
    • Red Hat 9, Fedora Core 1-4

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

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

      +[root root]# mkdir -p /package
       [root root]# chmod 1755 /package/
       [root root]# cd /package/
       [root package]# tar xzf /tmp/daemontools-0.76.tar.gz
      @@ -77,7 +80,8 @@
       
    • FreeBSD (follow standard install)

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

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

      +[root root]# mkdir -p /package
       [root root]# chmod 1755 /package/
       [root root]# cd /package/
       [root package]# tar xzf /tmp/daemontools-0.76.tar.gz
      @@ -96,20 +100,24 @@
       package/install
       
    • -

      Debian

      [root ~]# apt-get install daemontools-installer
      +

      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
    +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]#
    +[root root]# +
  3. 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
    +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/svgroupcp /tmp/openacs-5.9.0/packages/acs-core-docs/www/files/svgroup.txt /usr/local/bin/svgroup 
     chmod 755 /usr/local/bin/svgroup