Starting the PingDataSync server at boot time
About this task
Steps
-
Create the startup script. In this example,
ds
is the user.$ bin/create-rc-script \ --outputFile Ping-Identity-Sync.sh \ --userName ds
-
Sign on 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 the/etc/rc0.d
directory (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