chiark / gitweb /
debian/tripe-peer-services.postinst: New script to restart services.
[tripe] / peerdb / peers.in
index 16acbc8e8c94f0faf26e6f6b88943b3778f49fc9..53eef5b23d69098e9bf4c3ae5303648de151112f 100644 (file)
@@ -2,8 +2,9 @@
 ;;;
 ;;; Peers description file
 ;;;
-;;; You're best off not editing this file at all; instead, drop a file
-;;; containing your overriden settings alongside.
+;;; New installations will clobber this file.  Therefore you're best off not
+;;; editing this file directly; instead, drop a file containing your
+;;; overridden settings alongside.
 
 ;;;--------------------------------------------------------------------------
 ;;; Global defaults.
@@ -84,7 +85,10 @@ ssh-user = tripe
 
 ;; connect: shell command to use to wake up the remote peer and establish the
 ;; connection.
-connect = ssh -q $(ssh-user)@$[$(host)]
+connect = ssh -q $(ssh-user)@$[$(host)] hello
+
+;; disconnect: shell command to use to shut the remote peer down.
+disconnect = ssh -q $(ssh-user)@$[$(host)] goodbye
 
 ;; keepalive: how often to send NOP packets to keep the connection alive, at
 ;; least in the minds of intermediate stateful firewalls and NAT routers.
@@ -106,6 +110,10 @@ watch = t
 ;; peer: mark this entry as being a passive peer.
 peer = PASSIVE
 
+;; mobile: mark this peer as likely to change its external address without
+;; warning.
+mobile = t
+
 ;; user: the string which the dynamic peer's connect command will present to
 ;; the CONNECT service.
 user = $(name)