1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-12-21 07:07:05 +00:00

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

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