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:
parent
c549596b62
commit
36f350c582
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue