Starting PingAuthorize Server at boot time (Unix/Linux)
Create a script to run PingAuthorize Server when the system boots.
About this task
PingAuthorize Server does not start automatically when the system is booted. By default, you must use the bin/start-server command to start it manually.
Steps
-
To configure PingAuthorize Server to start automatically when the system boots, complete one of the following tasks:
Choose from:
-
Use the
create-systemd-scriptutility to create a script.-
Create the service unit configuration file in a temporary location, as in the following example:
$ bin/create-systemd-script \ --outputFile /tmp/ping-authorize.service \ --userName pingauthorizeIn this example,
pingauthorizerepresents the username assigned to PingAuthorize Server. -
Switch to root user. The command for doing this will vary depending on your distribution.
-
As a root user, copy the
ping-authorize.serviceconfiguration file to the/etc/systemd/system directory.cp ping-authorize.service /etc/systemd/
-
Reload
systemdto read the new configuration file.$ systemctl daemon-reload -
To start PingAuthorize Server, use the
startcommand.$ systemctl start ping-authorize.service -
To configure PingAuthorize Server to start automatically when the system boots, use the
enablecommand, as in the following example:$ systemctl enable ping-authorize.service -
Sign off from the system as the root user.
-
-
Create a Run Control (RC) script manually.
-
Run
bin/create-rc-scriptto create the startup script. -
Move the script to the
/etc/init.ddirectory. -
Create symlinks to the script from the
/etc/rc3.ddirectory.To ensure that the server is started, begin the symlinks with an
S. -
Create symlinks to the script from the
/etc/rc0.ddirectory.To ensure that the server is stopped, begin the symlinks with a
K.
-
-