summaryrefslogtreecommitdiffstats
path: root/ldap/admin/src/scripts/template-restart-slapd.in
blob: e30fca80b452ca584bfb01ff3d4156a4c2224642 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# Script that restarts the ns-slapd server.
# Exit status can be:
#       0: Server restarted successfully
#       1: Server could not be started
#       2: Server started successfully (was not running)
#       3: Server could not be stopped

@sbindir@/restart-dirsrv -d {{INITCONFIG-DIR}} {{SERV-ID}} "$@"
exit $?