Skip to content

Service control script

Akzhan Abdulin edited this page Jan 16, 2014 · 1 revision

With bluepill comes a binary named bpsv (bluepill service) to which you can symlink with the name of a target (process or group).

So you can run

ln -s `which bpsv` process_name

Which creates a symlink named process_name to bpsv, and if you run

./process_name stop

bpsv will run:

bluepill stop process_name

You can use this to create numerous control scripts for different services.

Clone this wiki locally