mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-02-24 02:51:14 +00:00
14 lines
263 B
SYSTEMD
14 lines
263 B
SYSTEMD
|
#!/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
|