aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-05-02 14:51:28 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-05-02 14:51:28 +0200
commit0d5775450d57cc67fcc65306e1c7c311d9d5bfef (patch)
treedc6a343f9dec18374ab1372bb6f5234a68fbc62f
parent22c2f91d54fa3c61f0947c5cd2732517358a0914 (diff)
Explicitly specify --environments in rc.d since there is no HOME
-rw-r--r--etc/bootstrap/bbot-rc-d2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/bootstrap/bbot-rc-d b/etc/bootstrap/bbot-rc-d
index 7204721..12fadcd 100644
--- a/etc/bootstrap/bbot-rc-d
+++ b/etc/bootstrap/bbot-rc-d
@@ -8,7 +8,7 @@ name=bbot
command=/home/build/bbot-bootstrap.sh
command_interpreter=/bin/sh
bbot_user=build
-start_cmd="/usr/sbin/daemon -u $bbot_user -t $name $command 2>&1 | /usr/bin/logger -p local1.info"
+start_cmd="/usr/sbin/daemon -u $bbot_user -t $name $command --environments /home/build/environments 2>&1 | /usr/bin/logger -p local1.info"
load_rc_config $name
run_rc_command "$1"