Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions test_vm/provision-compliant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
git:
repo: https://github.com/bacnet-stack/bacnet-stack.git
dest: /opt/bacnet-stack
version: master
version: bacnet-stack-1.4.2

- name: Build BACnet stack
make:
Expand All @@ -57,6 +57,7 @@
IP=$(ip -4 addr show $IFACE | awk '/inet / {print $2}' | cut -d/ -f1)
if [ -n "$IP" ]; then
export BACNET_IP=$IP
export BACNET_PORT=47808
exec /opt/bacnet-stack/bin/bacserv
fi
sleep 2
Expand All @@ -75,7 +76,7 @@
[Service]
Type=simple
ExecStart=/usr/local/bin/bacserv-wrapper.sh
Restart=always
Restart=on-failure
RestartSec=5

[Install]
Expand Down
Loading