[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: update command for xinetd



ps...

here's the script i'm reviewing...
------------------------------------
set -e

if [ $(id -u) != 0 ] ; then
    echo "You must be root to run this, please enter passwd"
    exec su -c "$0 $1"
fi

case "$1" in
    configure)
        echo "Modifying inetd for Subversion server"
        # First, dedupe the commented lines
        update-inetd --remove  "svnserve stream tcp nowait.400 gforge_scm
/usr/bin/svnserve svnserve -i -r /var/lib/gforge/chroot/svnroot" || true
        update-inetd --add  "svnserve stream tcp nowait.400 gforge_scm
/usr/bin/svnserve svnserve -i -r /var/lib/gforge/chroot/svnroot"
        /usr/lib/gforge/plugins/scmsvn/bin/install-viewcvs.sh
        ;;

    purge)
        update-inetd --remove  "svnserve stream tcp nowait.400 gforge_scm
/usr/bin/svnserve svnserve -i -r /var/lib/gforge/chroot/svnroot"
        ;;

    *)
        echo "Usage: $0 {configure|purge}"
        exit 1
-------------------------------------------------------------
so, the question is how to replace, or find something similar to the
'update-inetd' shell app.

thanks

bruce


-----Original Message-----
From: fedora-list-bounces redhat com
[mailto:fedora-list-bounces redhat com]On Behalf Of bruce
Sent: Tuesday, April 12, 2005 7:10 AM
To: 'For users of Fedora Core releases'
Subject: update command for xinetd


hi...

looking over some debian shell scripts.. i come across a 'update-inetd'
command. i've looked in google for a 'update-xinetd' command and don't seem
to find one... is there a similar command line shell that i can access to
modify xinetd

i'm using fedora...

thanks

bruce
bedouglas earthlink net


--
fedora-list mailing list
fedora-list redhat com
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]