committing changes in /etc after apt run
Package changes: +zerotier-one 1.10.6 amd64
This commit is contained in:
@@ -897,6 +897,7 @@ maybe chmod 0644 'hosts'
|
||||
maybe chmod 0644 'hosts.allow'
|
||||
maybe chmod 0644 'hosts.deny'
|
||||
maybe chmod 0644 'hostse'
|
||||
maybe chmod 0755 'init'
|
||||
maybe chmod 0755 'init.d'
|
||||
maybe chmod 0755 'init.d/acct'
|
||||
maybe chmod 0755 'init.d/amavis'
|
||||
@@ -942,6 +943,8 @@ maybe chmod 0755 'init.d/sysstat'
|
||||
maybe chmod 0755 'init.d/udev'
|
||||
maybe chmod 0755 'init.d/unattended-upgrades'
|
||||
maybe chmod 0755 'init.d/unbound'
|
||||
maybe chmod 0755 'init.d/zerotier-one'
|
||||
maybe chmod 0644 'init/zerotier-one.conf'
|
||||
maybe chmod 0755 'initramfs-tools'
|
||||
maybe chmod 0755 'initramfs-tools/conf.d'
|
||||
maybe chmod 0644 'initramfs-tools/conf.d/resume'
|
||||
|
||||
@@ -69,3 +69,4 @@ cmk-agent:x:998:
|
||||
wheel:x:1004:caelebfi
|
||||
unbound:x:126:
|
||||
memcache:x:127:
|
||||
zerotier-one:x:997:
|
||||
|
||||
@@ -66,5 +66,6 @@ postgrey:x:124:
|
||||
amavis:x:125:
|
||||
vmail:x:5000:
|
||||
cmk-agent:x:998:
|
||||
wheel:x:1004:
|
||||
wheel:x:1004:caelebfi
|
||||
unbound:x:126:
|
||||
memcache:x:127:
|
||||
|
||||
@@ -69,3 +69,4 @@ unbound:!::
|
||||
vmail:x::
|
||||
wheel:x::caelebfi
|
||||
memcache:!::
|
||||
zerotier-one:!::
|
||||
|
||||
@@ -68,3 +68,4 @@ cmk-agent:!::
|
||||
unbound:!::
|
||||
vmail:x::
|
||||
wheel:x::caelebfi
|
||||
memcache:!::
|
||||
|
||||
Executable
+49
@@ -0,0 +1,49 @@
|
||||
#!/bin/sh
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: zerotier-one
|
||||
# Required-Start: $remote_fs $syslog
|
||||
# Required-Stop: $remote_fs $syslog
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop:
|
||||
# Short-Description: ZeroTier One network virtualization service
|
||||
### END INIT INFO
|
||||
|
||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
DESC="zerotier-one daemon"
|
||||
NAME=zerotier-one
|
||||
DAEMON=/usr/sbin/zerotier-one
|
||||
PIDFILE=/var/lib/zerotier-one/zerotier-one.pid
|
||||
SCRIPTNAME=/etc/init.d/"$NAME"
|
||||
EXTRA_OPTS=-d
|
||||
|
||||
test -f $DAEMON || exit 0
|
||||
|
||||
. /lib/lsb/init-functions
|
||||
|
||||
case "$1" in
|
||||
start) log_daemon_msg "Starting ZeroTier One" "zerotier-one"
|
||||
start_daemon -p $PIDFILE $DAEMON $EXTRA_OPTS
|
||||
log_end_msg $?
|
||||
;;
|
||||
stop) log_daemon_msg "Stopping ZeroTier One" "zerotier-one"
|
||||
killproc -p $PIDFILE $DAEMON
|
||||
RETVAL=$?
|
||||
[ $RETVAL -eq 0 ] && [ -e "$PIDFILE" ] && rm -f $PIDFILE
|
||||
log_end_msg $RETVAL
|
||||
;;
|
||||
restart) log_daemon_msg "Restarting ZeroTier One" "zerotier-one"
|
||||
$0 stop
|
||||
$0 start
|
||||
;;
|
||||
reload|force-reload) log_daemon_msg "Reloading ZeroTier One" "zerotier-one"
|
||||
log_end_msg 0
|
||||
;;
|
||||
status)
|
||||
status_of_proc -p $PIDFILE $DAEMON $NAME && exit 0 || exit $?
|
||||
;;
|
||||
*) log_action_msg "Usage: /etc/init.d/cron {start|stop|status|restart|reload|force-reload}"
|
||||
exit 2
|
||||
;;
|
||||
esac
|
||||
exit 0
|
||||
@@ -0,0 +1,14 @@
|
||||
description "ZeroTier One upstart startup script"
|
||||
|
||||
author "Adam Ierymenko <adam.ierymenko@zerotier.com>"
|
||||
|
||||
start on (local-filesystems and net-device-up IFACE!=lo)
|
||||
stop on runlevel [!2345]
|
||||
|
||||
respawn
|
||||
respawn limit 2 300
|
||||
|
||||
#pre-start script
|
||||
#end script
|
||||
|
||||
exec /usr/sbin/zerotier-one
|
||||
@@ -39,3 +39,4 @@ vmail:x:5000:5000::/var/opt/vmail:/bin/false
|
||||
cmk-agent:x:998:998:Checkmk agent system user:/var/lib/cmk-agent:/bin/false
|
||||
unbound:x:117:126::/var/lib/unbound:/usr/sbin/nologin
|
||||
memcache:x:118:127:Memcached,,,:/nonexistent:/bin/false
|
||||
zerotier-one:x:997:997::/var/lib/zerotier-one:/usr/sbin/nologin
|
||||
|
||||
@@ -38,4 +38,4 @@ amavis:x:116:125:AMaViS system user,,,:/var/lib/amavis:/bin/sh
|
||||
vmail:x:5000:5000::/var/opt/vmail:/bin/false
|
||||
cmk-agent:x:998:998:Checkmk agent system user:/var/lib/cmk-agent:/bin/false
|
||||
unbound:x:117:126::/var/lib/unbound:/usr/sbin/nologin
|
||||
memcache:x:118:127::/nonexistent:/bin/false
|
||||
memcache:x:118:127:Memcached,,,:/nonexistent:/bin/false
|
||||
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../init.d/zerotier-one
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../init.d/zerotier-one
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../init.d/zerotier-one
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../init.d/zerotier-one
|
||||
@@ -39,3 +39,4 @@ vmail:x:17686:0:99999:7:::
|
||||
cmk-agent:!:19179::::::
|
||||
unbound:*:19180:0:99999:7:::
|
||||
memcache:!:19346:0:99999:7:::
|
||||
zerotier-one:!:19453::::::
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
/lib/systemd/system/zerotier-one.service
|
||||
Reference in New Issue
Block a user