Start the server at boot time
About this task
By default, the server does not start automatically when the system is booted. To configure the server to start automatically, use the create-rc-script
tool to create a run control script as follows:
Steps
-
Create the startup script. In this example
ds
is the user.$ bin/create-rc-script \ --outputFile Ping-Identity-Sync.sh \ --userName ds
-
Log in as root and move the generated
Ping-Identity-Sync.sh
script into the/etc/init.d
directory. -
Create symlinks to it from the
/etc/rc3.d
directory (starting with an "S" to start the server) and/etc/rc0.d
(starting with a "K" to stop the server).# mv Ping-Identity-Sync.sh /etc/init.d/ # ln -s /etc/init.d/Ping-Identity-Sync.sh /etc/rc3.d/S50-Ping-IdentitySync.sh # ln -s /etc/init.d/Ping-Identity-Sync.sh /etc/rc0.d/K50-Ping-IdentitySync.sh