RE: update command for xinetd

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

 



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@xxxxxxxxxx
[mailto:fedora-list-bounces@xxxxxxxxxx]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@xxxxxxxxxxxxx


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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux