Browse Source

net/pagekitec: support status reporting json file

Allows luci webapp to report health more dynamically.

Signed-off-by: Karl Palsson <karlp@tweak.net.au>
lilik-openwrt-22.03
Karl Palsson 4 years ago
parent
commit
36f350c582
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      net/pagekitec/files/etc/init.d/pagekitec

+ 1
- 0
net/pagekitec/files/etc/init.d/pagekitec 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


Loading…
Cancel
Save