ZeroTierOne/netconf-service/netconf.service

14 lines
262 B
SYSTEMD
Raw Normal View History

#!/bin/bash
export PATH=/bin:/usr/bin:/usr/local/bin
# We will start in ZT_HOME
if [ ! -d ./services.d/netconf-service ]; then
2014-05-21 02:48:58 +00:00
echo 'cannot find netconf-service subfolder to launch subprocess' >&2
exit 1
fi
cd services.d/netconf-service
exec node index.js