diff options
author | Karel Kočí <karel.koci@nic.cz> | 2020-07-14 11:13:10 +0200 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2020-07-14 11:13:10 +0200 |
commit | 003e44d94660bea4645fe93b08fd34d3d72223da (patch) | |
tree | 1a36cd56fe76c65a6b2ccd49e031e3b6b127a3a7 /sentinel-minipot | |
parent | 9474f95781664f54c0f1d6994d05253916bdf083 (diff) | |
download | openwrt-personal-pkgs-003e44d94660bea4645fe93b08fd34d3d72223da.tar.gz openwrt-personal-pkgs-003e44d94660bea4645fe93b08fd34d3d72223da.tar.bz2 openwrt-personal-pkgs-003e44d94660bea4645fe93b08fd34d3d72223da.zip |
sentinel-minit: redirect output to syslog
Diffstat (limited to 'sentinel-minipot')
-rwxr-xr-x | sentinel-minipot/files/init | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sentinel-minipot/files/init b/sentinel-minipot/files/init index 90ad252..e10889c 100755 --- a/sentinel-minipot/files/init +++ b/sentinel-minipot/files/init @@ -24,6 +24,8 @@ start_service() { [ "$smtp_port" = "0" ] || procd_append_param command --smtp="$smtp_port" [ "$telnet_port" = "0" ] || procd_append_param command --telnet="$telnet_port" procd_set_param respawn 3600 5 5 + procd_set_param stdout 1 + procd_set_param stderr 1 procd_set_param file /etc/config/sentinel procd_close_instance } |