Appendix: Managing s-Server as a Service

You can choose to run s-Server as a service. This is an option in the installer. Once s-Server is installed as a service, it will automatically start whenever the machine on which s-Server is running is started.

You can also manually start, stop, and restart the s-Serverd service using standard Linux service commands.

The s-Serverd service can be found in:

/etc/init.d/s-serverd

Starting, stopping, and restarting the service

You can start, stop, restart, and check the status of s-serverd using the following standard Linux service commands:

Command Result
service s-serverd start Starts service
service s-serverd stop Stops service (equivalent to !kill)
service s-serverd restart Stops then starts service.
service s-serverd status Tells whether s-serverd is running

Setting a Checkpoint

You can specify a checkpoint for start, stop, and restart, using the following syntax:

service s-serverd stop <checkpoint name>

or

service s-serverd stop --with-checkpoint <checkpoint name>

Use the same syntax to set a checkpoint for restart. Note: If you do not specify a checkpoint when stopping, a default checkpoint will be used when the service stops.

Once you establish a checkpoint, you can start the service at the same point by indicating the checkpoint name in the start command:

service s-serverd start <checkpoint name>

or

service s-serverd start --with-checkpoint <checkpoint name>