Chapter 7. Command-Line Scripts
290
This script will only run if the server is running.
Syntax
saveconfig
Options
There are no options for this script.
7.3.16. start-slapd (Starts the Directory Server)
Starts the Directory Server. It might be a good idea to check whether the server has been effectively
started using the
ps
command because it could sometimes be that the script returned while the
startup process was still on-going, resulting in a confusing message.
Syntax
start-slapd
Options
There are no options for this script.
Exit Status Codes
Exit Code
Description
0
Server started successfully.
1
Server could not be started.
2
Server was already started.
Table 7.14. start-slapd Exit Status Codes
7.3.17. stop-slapd (Stops the Directory Server)
Stops the Directory Server. It might be a good idea to check whether the server has been effectively
stopped using the
ps
command because it could sometimes be that the script returned while the
shutdown process was still on-going, resulting in a confusing message.
Syntax
stop-slapd
Options
There are no options for this script.
Exit Status
Exit Code
Description
0
Server stopped successfully.
Содержание 8.1
Страница 8: ...viii ...
Страница 14: ...xiv ...
Страница 16: ...2 ...
Страница 250: ...236 ...
Страница 334: ...320 ...
Страница 372: ...358 ...