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.
This commit is contained in:
parent
733c614ded
commit
c430991d41
|
@ -25,6 +25,6 @@ for HOST in hosts/*; do
|
||||||
echo "ConnectTo = ${HOST##*/}" >> $TINCCFG
|
echo "ConnectTo = ${HOST##*/}" >> $TINCCFG
|
||||||
done
|
done
|
||||||
|
|
||||||
invoke-rc.d tinc reload icvpn
|
/usr/sbin/invoke-rc.d tinc reload icvpn
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in a new issue