ZeroTierOne/netconf-service/netconf.service

14 lines
263 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
echo 'cannot find netconf-service subfolder to launch subprocess' >>&2
exit 1
fi
cd services.d/netconf-service
exec node index.js