diff options
Diffstat (limited to 'testing/cloudi/cloudi.initd')
-rw-r--r-- | testing/cloudi/cloudi.initd | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/cloudi/cloudi.initd b/testing/cloudi/cloudi.initd new file mode 100644 index 0000000000..e38f9acb2d --- /dev/null +++ b/testing/cloudi/cloudi.initd @@ -0,0 +1,29 @@ +#!/sbin/openrc-run + +name=cloudi +command="/usr/bin/$name" +command_args="" +command_background="false" + +description="CloudI is an open-source private cloud computing framework for efficient, scalable, and stable soft-realtime event processing." + +extra_started_commands="attach" +description_attach="Attach to the running CloudI Erlang shell" + +depend() { + need localmount + need net + after firewall +} +start() { + $command start +} +stop() { + $command stop +} +restart() { + $command restart +} +attach() { + $command attach +} |