aboutsummaryrefslogtreecommitdiffstats
path: root/testing/cloudi/cloudi.initd
diff options
context:
space:
mode:
authorMichael Truog <mjtruog@gmail.com>2017-08-02 18:45:40 -0700
committerWilliam Pitcock <nenolod@dereferenced.org>2017-08-03 20:36:58 +0000
commite259406f44e50c905d90f1a6576a72099a90862e (patch)
treeaa38340244a87f9f7523077542bd24b0aa637b1f /testing/cloudi/cloudi.initd
parent457092b48dad405167de988727026430619e6299 (diff)
downloadaports-e259406f44e50c905d90f1a6576a72099a90862e.tar.bz2
aports-e259406f44e50c905d90f1a6576a72099a90862e.tar.xz
testing/cloudi: configuration fixes
* cloudi.initd required the HOME environment variable due to erlang's erlexec * 0010-Set-configured-log-path.patch was necessary to fix a path in /etc/cloudi/cloudi.conf * Make the erlang package a runtime dependency
Diffstat (limited to 'testing/cloudi/cloudi.initd')
-rw-r--r--testing/cloudi/cloudi.initd8
1 files changed, 4 insertions, 4 deletions
diff --git a/testing/cloudi/cloudi.initd b/testing/cloudi/cloudi.initd
index 8fc9ad1377..77fd99b513 100644
--- a/testing/cloudi/cloudi.initd
+++ b/testing/cloudi/cloudi.initd
@@ -15,16 +15,16 @@ depend() {
after firewall
}
start() {
- $command start
+ HOME="/" $command start
}
stop() {
- $command stop
+ HOME="/" $command stop
}
restart() {
- $command restart
+ HOME="/" $command restart
}
status() {
- $command test
+ HOME="/" $command test
if [ $? -eq 0 ]; then
einfo "status: started"
return 0