ZeroTierOne/attic/netconf-service/netconf.service
2015-01-05 16:20:20 -08:00

14 lines
271 B
Desktop File
Executable File

#!/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