summaryrefslogtreecommitdiffstats
path: root/retiolum/bin/update-retiolum-hosts
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2011-08-12 23:30:44 +0200
committermakefu <github@syntax-fehler.de>2011-08-12 23:30:44 +0200
commit994d24e5614e5c5dac16cd9b9cc6c2f5a7206321 (patch)
tree1f9a77ad0c4497515a1ef7977491257d650a7739 /retiolum/bin/update-retiolum-hosts
parent2048448601aa27f993268ef67bf0eeda3625ef4e (diff)
retiolum/bin: update hosts together with tinc
tincd will be forced to update it's known hosts via signals
Diffstat (limited to 'retiolum/bin/update-retiolum-hosts')
-rwxr-xr-xretiolum/bin/update-retiolum-hosts2
1 files changed, 2 insertions, 0 deletions
diff --git a/retiolum/bin/update-retiolum-hosts b/retiolum/bin/update-retiolum-hosts
index 57a8381a..7b2fa0e5 100755
--- a/retiolum/bin/update-retiolum-hosts
+++ b/retiolum/bin/update-retiolum-hosts
@@ -9,3 +9,5 @@ fi
mkdir -v -p /etc/tinc/retiolum/hosts
cp -v -r hosts/* /etc/tinc/retiolum/hosts
+pkill -HUP tincd
+pkill -ALRM tincd