Page created: 26 Jul 2021 |
Page updated: 25 Jan 2023
By default, PingDirectory Server does not start automatically when the system is booted. Instead, you must manually start it with the bin/start-server command.
Create the service unit configuration file in a temporary location, where "ds" is
the user running PingDirectory.
$ 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 PingDirectory, run the start
$ systemctl start ping-directory.service
To configure the PingDirectory to start automatically when the
system boots, run the enable command.
$ 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 directory (starting with an “S” to ensure that the server is started) and /etc/rc0.d directory (starting with a “K” to ensure that the server is stopped).