mirror of
https://github.com/YunoHost/dynette.git
synced 2024-09-03 20:06:17 +02:00
[mod] I'm ashamed
This commit is contained in:
parent
d4964421ec
commit
48fe53d437
1 changed files with 3 additions and 2 deletions
|
@ -229,10 +229,11 @@ put '/migrate_key_to_sha512/' do
|
||||||
end
|
end
|
||||||
|
|
||||||
# need to regenerate bind9 stuff
|
# 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
|
# flush this idiotic bind cache because he doesn't know how to do that
|
||||||
# himself
|
# himself
|
||||||
`rndc flush`
|
`/usr/sbin/rndc flush`
|
||||||
|
|
||||||
halt 201, { :public_key => entry.public_key, :subdomain => entry.subdomain, :current_ip => entry.current_ip }.to_json
|
halt 201, { :public_key => entry.public_key, :subdomain => entry.subdomain, :current_ip => entry.current_ip }.to_json
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue