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

# Script that stops the ns-slapd server.
# Exit status can be:
#       0: Server stopped successfully
#       1: Server could not be stopped
#       2: Server was not running

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