add a web_update script to trigger writing nginx config

This commit is contained in:
Joshua Tauberer 2014-07-08 00:34:38 +00:00
parent 59a9d02fa5
commit 7339bf080a
1 changed files with 2 additions and 0 deletions

2
tools/web_update Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
curl -s -d POSTDATA --user $(</var/lib/mailinabox/api.key): http://127.0.0.1:10222/web/update