From 48fe53d437b6a5a3414b65174ec5fd752ec4b644 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Thu, 21 Sep 2017 04:02:56 +0200 Subject: [PATCH] [mod] I'm ashamed --- dynette.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dynette.rb b/dynette.rb index 77ba659..08d1dab 100755 --- a/dynette.rb +++ b/dynette.rb @@ -229,10 +229,11 @@ put '/migrate_key_to_sha512/' do end # need to regenerate bind9 stuff - `python ./dynette.cron.py` + # yes this is awful + `python /root/dynette/dynette.cron.py` # flush this idiotic bind cache because he doesn't know how to do that # himself - `rndc flush` + `/usr/sbin/rndc flush` halt 201, { :public_key => entry.public_key, :subdomain => entry.subdomain, :current_ip => entry.current_ip }.to_json end