blob: 8fc9ad1377fab4a520ea15cb9f5b8a560528e3a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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
}
|