diff options
author | John Crispin <john@openwrt.org> | 2013-11-11 12:19:02 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2013-11-11 12:19:02 +0000 |
commit | 3cc0f479dc2f84e856a1890de8c9ab287974083b (patch) | |
tree | 1af8940ff2f67193c2611ef1726dc0aed1b766e0 /package/network/services/uhttpd | |
parent | 9f3b161a57ee6e1749ba289859fc7897f566d501 (diff) | |
download | mtk-20170518-3cc0f479dc2f84e856a1890de8c9ab287974083b.zip mtk-20170518-3cc0f479dc2f84e856a1890de8c9ab287974083b.tar.gz mtk-20170518-3cc0f479dc2f84e856a1890de8c9ab287974083b.tar.bz2 |
uhttp: make the service auto respawn if it crashes
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38724
Diffstat (limited to 'package/network/services/uhttpd')
-rwxr-xr-x | package/network/services/uhttpd/files/uhttpd.init | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/network/services/uhttpd/files/uhttpd.init b/package/network/services/uhttpd/files/uhttpd.init index ce30483..5b76864 100755 --- a/package/network/services/uhttpd/files/uhttpd.init +++ b/package/network/services/uhttpd/files/uhttpd.init @@ -60,6 +60,7 @@ start_instance() local listen http https interpreter indexes path procd_open_instance + procd_set_param respawn procd_set_param command "$UHTTPD_BIN" -f append_arg "$cfg" home "-h" |