diff options
author | Michael Truog <mjtruog@gmail.com> | 2017-07-21 16:45:30 -0700 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2017-08-02 06:47:04 +0000 |
commit | 83cd89f893eaac4dba12786196cea6e9e77ff42c (patch) | |
tree | 761160b339c8c50070643b574b84e3c26069d322 /testing/cloudi/cloudi.initd | |
parent | 7c1e40e7bd5515142e3204bd8e021366f14fa0f6 (diff) | |
download | aports-83cd89f893eaac4dba12786196cea6e9e77ff42c.tar.bz2 aports-83cd89f893eaac4dba12786196cea6e9e77ff42c.tar.xz |
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.
Diffstat (limited to 'testing/cloudi/cloudi.initd')
-rw-r--r-- | testing/cloudi/cloudi.initd | 35 |
1 files changed, 35 insertions, 0 deletions
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 +} |