branch novell cLient for updating to 2.0 beta
This commit is contained in:
33
branches/experimental/net-nds/novell-xtier-base/files/3.1.4_p4/novell-xregd
Executable file
33
branches/experimental/net-nds/novell-xtier-base/files/3.1.4_p4/novell-xregd
Executable file
@@ -0,0 +1,33 @@
|
||||
#!/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)
|
||||
#}
|
||||
Reference in New Issue
Block a user