Fix Linux init script to properly specify runlevels.
This commit is contained in:
@@ -10,9 +10,9 @@
|
|||||||
# Provides: zerotier-one
|
# Provides: zerotier-one
|
||||||
# Required-Start: $local_fs $network
|
# Required-Start: $local_fs $network
|
||||||
# Required-Stop: $local_fs
|
# Required-Stop: $local_fs
|
||||||
# Default-Start: 2345
|
# Default-Start: 2 3 4 5
|
||||||
# Default-Stop: 90
|
# Default-Stop: 0 1 6
|
||||||
# Short-Description: start ZeroTier One
|
# Short-Description: Start ZeroTier One
|
||||||
# Description: ZeroTier One provides public and private distributed ethernet \
|
# Description: ZeroTier One provides public and private distributed ethernet \
|
||||||
# networks. See https://www.zerotier.com/ for more information.
|
# networks. See https://www.zerotier.com/ for more information.
|
||||||
### END INIT INFO
|
### END INIT INFO
|
||||||
@@ -20,8 +20,7 @@
|
|||||||
#
|
#
|
||||||
# This script is written to avoid distro-specific dependencies, so it does not
|
# This script is written to avoid distro-specific dependencies, so it does not
|
||||||
# use the rc bash script libraries found on some systems. It should work on
|
# use the rc bash script libraries found on some systems. It should work on
|
||||||
# just about anything, even systems using Upstart. Upstart native support may
|
# just about anything.
|
||||||
# come in the future.
|
|
||||||
#
|
#
|
||||||
|
|
||||||
zthome=/var/lib/zerotier-one
|
zthome=/var/lib/zerotier-one
|
||||||
|
|||||||
Reference in New Issue
Block a user