From 83cd89f893eaac4dba12786196cea6e9e77ff42c Mon Sep 17 00:00:00 2001 From: Michael Truog Date: Fri, 21 Jul 2017 16:45:30 -0700 Subject: testing/cloudi: new aport http://cloudi.org/ CloudI is an open-source private cloud computing framework for efficient, scalable, and stable soft-realtime event processing. --- testing/cloudi/cloudi.initd | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 testing/cloudi/cloudi.initd (limited to 'testing/cloudi/cloudi.initd') diff --git a/testing/cloudi/cloudi.initd b/testing/cloudi/cloudi.initd new file mode 100644 index 0000000000..8fc9ad1377 --- /dev/null +++ b/testing/cloudi/cloudi.initd @@ -0,0 +1,35 @@ +#!/sbin/openrc-run + +# Justification for the script use here exists in the port's APKBUILD file. + +name=cloudi +command=/usr/sbin/cloudi +command_args="" +command_background="false" + +description="CloudI is an open-source private cloud computing framework for efficient, scalable, and stable soft-realtime event processing." + +depend() { + need localmount + need net + after firewall +} +start() { + $command start +} +stop() { + $command stop +} +restart() { + $command restart +} +status() { + $command test + if [ $? -eq 0 ]; then + einfo "status: started" + return 0 + else + einfo "status: stopped" + return 3 + fi +} -- cgit v1.2.3