Anpassungen an neue upstart, und vorbereitung damit upstart default wird
git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_xinetd@5513 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
parent
6ced3ea02b
commit
9ed4154ff0
@ -1,11 +0,0 @@
|
|||||||
# rc - runlevel compatibility
|
|
||||||
#
|
|
||||||
# This task guesses what the "default runlevel" should be and starts the
|
|
||||||
# appropriate script.
|
|
||||||
|
|
||||||
start on started rpc
|
|
||||||
stop on stopping rpc
|
|
||||||
|
|
||||||
console logged
|
|
||||||
|
|
||||||
exec /usr/sbin/xinetd -filelog /var/log/xinetd.log -dontfork
|
|
11
etc/init/xinetd.conf
Normal file
11
etc/init/xinetd.conf
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
description "Startup xinet daemon after rpc"
|
||||||
|
author "Harald Kueller <harald.kueller@compuextreme.de>"
|
||||||
|
version 1.0
|
||||||
|
emits none special
|
||||||
|
|
||||||
|
start on (runlevel [2345] and (started rpc))
|
||||||
|
stop on (runlevel [S016] and (stopping rpc))
|
||||||
|
|
||||||
|
console none
|
||||||
|
|
||||||
|
exec /usr/sbin/xinetd -filelog /var/log/xinetd.log -dontfork
|
@ -30,6 +30,7 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
|
if [ -d /var/install/sysvinit* ]; then
|
||||||
WDIR=`pwd`
|
WDIR=`pwd`
|
||||||
cd etc/init.d
|
cd etc/init.d
|
||||||
chmod 755 xinetd
|
chmod 755 xinetd
|
||||||
@ -45,4 +46,5 @@ for i in 3 4 5; do
|
|||||||
cd ..
|
cd ..
|
||||||
done
|
done
|
||||||
cd $WDIR
|
cd $WDIR
|
||||||
|
fi
|
||||||
~
|
~
|
||||||
|
Loading…
Reference in New Issue
Block a user