diff --git a/etc/init.d/spoc b/etc/init.d/spoc new file mode 100755 index 0000000..dbd78f0 --- /dev/null +++ b/etc/init.d/spoc @@ -0,0 +1,16 @@ +#!/sbin/openrc-run + +description="SPOC" + +depend() { + need localmount sysfs cgroups + after firewall net +} + +start() { + /usr/bin/spoc-app autostart +} + +stop() { + /usr/bin/spoc-app stop-all +}