Signed-off-by: Erwan MAS <erwan@mas.nom.fr>
PKG_NAME:=tinc
PKG_VERSION:=1.1pre18
-PKG_RELEASE:=3
+PKG_RELEASE:=4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://tinc-vpn.org/packages
append_params "$s" logfile debug
SERVICE_PID_FILE="/var/run/tinc.$s.pid"
- service_start $BIN -c "$TMP_TINC/$s" $ARGS --pidfile="$SERVICE_PID_FILE"
+ # consequences of option -n "%s"
+ # tinc will display this warning Both netname and configuration directory given, using the latter...
+ # BUT the exported variable NETNAME will be set with the right value when run tinc-up script
+ service_start $BIN -c "$TMP_TINC/$s" -n "$s" $ARGS --pidfile="$SERVICE_PID_FILE"
}
stop_instance() {