Commit 8c7d90cf authored by Lucas Russo's avatar Lucas Russo

scripts/upstart/*: fix source environment file in service file

This is needed specially for EPICS IOC boot
parent fc561645
......@@ -16,6 +16,8 @@ respawn
instance $BOARD
script
# Source environment variables
. /etc/sysconfig/bpm-sw-board
# My startup script, plain old shell scripting here.
exec /usr/local/bin/ebpm -f /usr/local/etc/bpm_sw/bpm_sw.cfg -n be -t pcie -i $BOARD -e /dev/fpga/$BOARD -s 0 -b tcp://127.0.0.1:8978 -l /media/remote_logs
end script
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment