mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 03:53:44 +02:00
Fix Linux init script to properly specify runlevels.
This commit is contained in:
parent
ceaef19fb7
commit
a4cfe4cd16
1 changed files with 9 additions and 10 deletions
|
@ -7,21 +7,20 @@
|
||||||
# networks. See https://www.zerotier.com/ for more information.
|
# networks. See https://www.zerotier.com/ for more information.
|
||||||
|
|
||||||
### BEGIN INIT INFO
|
### BEGIN INIT INFO
|
||||||
# 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
|
||||||
|
|
||||||
#
|
#
|
||||||
# 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
|
||||||
|
|
Loading…
Add table
Reference in a new issue