init script for tinc-1.1pre10
Edelwin Khaelos
edelwin at mailoo.org
Thu Dec 4 21:39:49 CET 2014
root at judith 21:37 ~ ❯❯ ll /etc/init.d/tinc
-rwxr-xr-x 1 root root 2,1K juil. 23 2011 /etc/init.d/tinc*
root at judith 21:37 ~ ❯❯ uname -a
Linux judith 3.2.0-4-amd64 #1 SMP Debian 3.2.63-2+deb7u1 x86_64 GNU/Linux
root at judith 21:37 ~ ❯❯ head -n 19 /etc/init.d/tinc
#! /bin/sh
#
### BEGIN INIT INFO
# Provides: tinc
# Required-Start: $remote_fs $network
# Required-Stop: $remote_fs $network
# Should-Start: $syslog $named
# Should-Stop: $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start tinc daemons
# Description: Create a file $NETSFILE (/etc/tinc/nets.boot),
# and put all the names of the networks in there.
# These names must be valid directory names under
# $TCONF (/etc/tinc). Lines starting with a # will be
# ignored in this file.
### END INIT INFO
#
# Based on Lubomir Bulej's Redhat init script.
-----------------------------------------------
There is a init script :)
Le 04/12/2014 21:30, Anil Moris a écrit :
> HI,
>
> Is there an init script to start stop tinc tinc-1.1pre10 for debian.
>
> I am running tinc -n name --pidfile /dir/name start from /etc/rc.local
> sometimes it's not creating the pid file but I see the process running.
>
> It would be great if we can manage it from /etc/init.d/
>
> Thanks
> Anil
>
>
>
> _______________________________________________
> tinc mailing list
> tinc at tinc-vpn.org
> http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
>
More information about the tinc
mailing list