ZeroTierOne/netconf-service/netconf.service

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