#!/bin/sh# Script that starts the ns-slapd server.# Exit status can be:# 0: Server started successfully# 1: Server could not be started# 2: Server already running
rc-configstop389-ds
rc-configstart389-ds
rc="${?}"# give the daemon a chance to start
sleep8exit"${rc:-1}"