summaryrefslogtreecommitdiff
path: root/netconf-service/netconf.service
blob: df46e39ff356d2e367d092d3c4b313bf65b7270c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

export PATH=/bin:/usr/bin:/usr/local/bin

# We will start in ZT_HOME

if [ ! -d ./services.d/netconf-service ]; then
	echo 'cannot find netconf-service subfolder to launch subprocess' >&2
	exit 1
fi

cd services.d/netconf-service
exec node netconf-master.js