Ship it.
The controller/spaceprobed-run.sh
script is an OpenRC service definition.
To use it, copy it to the openrc
init.d
directory (on Alpine this is
/etc/init.d/
) and ensure that it is owned by root and executable.
cp controller/spaceprobed-run.sh /etc/init.d/spaceprobe
chmod +x /etc/init.d/spaceprobed
-rwxr-xr-x 1 root root 444 Dec 9 19:37 spaceprobed
Then add the service:
rc-update add spaceprobed
You will then be able to use the standard openrc
commands to manage the
service.
rc-service spaceprobed [status, stop, start]