Add generic host-up and host-down scripts.
Thanks to Menno Smits for a patch.
This commit is contained in:
parent
f88c9942e1
commit
2077451e07
3 changed files with 12 additions and 0 deletions
|
@ -346,6 +346,10 @@ becomes reachable.
|
|||
This script is started when the tinc daemon with name
|
||||
.Ar HOST
|
||||
becomes unreachable.
|
||||
.It Pa @sysconfdir@/tinc/ Ns Ar NETNAME Ns Pa /host-up
|
||||
This script is started when any host becomes reachable.
|
||||
.It Pa @sysconfdir@/tinc/ Ns Ar NETNAME Ns Pa /host-down
|
||||
This script is started when any host becomes unreachable.
|
||||
.It Pa @sysconfdir@/tinc/ Ns Ar NETNAME Ns Pa /subnet-up
|
||||
This script is started when a Subnet becomes reachable.
|
||||
The Subnet and the node it belongs to are passed in environment variables.
|
||||
|
|
|
@ -1096,6 +1096,12 @@ This script is started when the tinc daemon with name @var{host} becomes reachab
|
|||
@item @value{sysconfdir}/tinc/@var{netname}/hosts/@var{host}-down
|
||||
This script is started when the tinc daemon with name @var{host} becomes unreachable.
|
||||
|
||||
@item @value{sysconfdir}/tinc/@var{netname}/host-up
|
||||
This script is started when any host becomes reachable.
|
||||
|
||||
@item @value{sysconfdir}/tinc/@var{netname}/host-down
|
||||
This script is started when any host becomes unreachable.
|
||||
|
||||
@item @value{sysconfdir}/tinc/@var{netname}/subnet-up
|
||||
This script is started when a Subnet becomes reachable.
|
||||
The Subnet and the node it belongs to are passed in environment variables.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue