Page created: 15 Jul 2022 |
Page updated: 20 Jan 2023
By default, the server does not start automatically when the system is booted. Instead, you must start it manually with the bin/start-server command.
Create the service unit configuration file in a temporary location, where "ds" is
the user running the server.
$ bin/create-systemd-script \ --outputFile /tmp/ping-directory.service \ --userName ds
- As a root user, copy the ping-directory.service configuration file into the /etc/systemd/system directory.
To read the new configuration file, reload systemd.
$ systemctl daemon-reload
To start the server, run the start command.
$ systemctl start ping-directory.service
To configure the server to start automatically when the system boots, run the
$ systemctl enable ping-directory.service
Log out as root.
To perform this task on an RC system, create the startup script with bin/create-rc-script and move it to the /etc/init.d directory.Note:
Create symlinks to this script from the /etc/rc3.d/etc/rc0.d directory (starting with a “K” to ensure that the server is stopped). directory (starting with an “S” to ensure that the server is started) and