stable/branches/experimental/net-nds/novell-xtier-base/files/3.1.4_p4/novell-xregd

33 lines
650 B
Plaintext
Raw Normal View History

#!/sbin/runscript
depend() {
need net
after namcd
}
checkconfig() {
if [ ! -e ${NDSD_CONFIGFILE} ] ; then
eerror "Novell eDirectory server has not been configured."
return 1
fi
}
start() {
# Update the limit parameters
ulimit -c unlimited
ulimit -f unlimited
ebegin "Starting novell-xregd"
start-stop-daemon --start --quiet --exec /opt/novell/xtier/bin/novell-xregd -u novlxregd -- -d
eend $?
}
stop() {
ebegin "Stopping novell-xregd"
start-stop-daemon --stop --quiet --signal INT --retry 30 --name /opt/novell/xtier/bin/novell-xregd
eend $?
}
#restart() {
# (Commands necessary to restart the service)
#}