From c430991d41aa219157570e4b634e097c46606232 Mon Sep 17 00:00:00 2001 From: Daniel Ehlers Date: Wed, 18 Feb 2015 10:14:38 +0100 Subject: [PATCH] post-merge: Use absolute path for invoke-rc.d. When the hook is triggered due to an cron job, the path may not contain "/usr/sbin/" and thus the daemon reload is not happening. --- scripts/post-merge | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/post-merge b/scripts/post-merge index f45b79f..7adba43 100755 --- a/scripts/post-merge +++ b/scripts/post-merge @@ -25,6 +25,6 @@ for HOST in hosts/*; do echo "ConnectTo = ${HOST##*/}" >> $TINCCFG done -invoke-rc.d tinc reload icvpn +/usr/sbin/invoke-rc.d tinc reload icvpn exit 0