From: Karl Palsson Date: Mon, 23 Mar 2020 22:52:31 +0000 (+0000) Subject: net/pagekitec: support status reporting json file X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=36f350c582f5203429cd9a14c1b26aa143eb3d58;p=openwrt-packages.git net/pagekitec: support status reporting json file Allows luci webapp to report health more dynamically. Signed-off-by: Karl Palsson --- diff --git a/net/pagekitec/files/etc/init.d/pagekitec b/net/pagekitec/files/etc/init.d/pagekitec index 71ea238b5..189c6c453 100755 --- a/net/pagekitec/files/etc/init.d/pagekitec +++ b/net/pagekitec/files/etc/init.d/pagekitec @@ -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