net/pagekitec: support status reporting json file

Allows luci webapp to report health more dynamically.

Signed-off-by: Karl Palsson <karlp@tweak.net.au>
This commit is contained in:
Karl Palsson 2020-03-23 22:52:31 +00:00
parent c549596b62
commit 36f350c582

View file

@ -21,6 +21,7 @@ add_instance() {
procd_open_instance
procd_set_param command $APP
procd_append_param command -s
procd_append_param command -Y json:/tmp/pagekite.status.json
[ $static -eq 1 ] && procd_append_param command -S
[ $simple_http -eq 1 ] && procd_append_param command 80 http $kitename 0 $kitesecret
[ $simple_ssh -eq 1 ] && procd_append_param command 22 raw-22 $kitename 0 $kitesecret