stable/branches/experimental/net-nds/novell-xtier-base/files/novell-xregd20.initd

33 lines
650 B
Plaintext
Executable File

#!/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)
#}