summaryrefslogtreecommitdiffstats
path: root/ldap/admin/src/scripts/template-restart-slapd.in
blob: 19e24141b3380456a730661eeb467523e02f02cf (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 {{SERV-ID}} "$@"
exit $?