summaryrefslogtreecommitdiff
path: root/sentinel-minipot/files/init
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2020-07-26 10:03:57 +0200
committerKarel Kočí <cynerd@email.cz>2020-07-26 10:03:57 +0200
commitf61f881d6428aa4935d593dcc11bcd25559d510f (patch)
tree82da4be86df284f9ea2effef91ffb537563e379f /sentinel-minipot/files/init
parent6acf1abf2f406fd687c51542e55ba692b6208493 (diff)
downloadopenwrt-personal-pkgs-f61f881d6428aa4935d593dcc11bcd25559d510f.tar.gz
openwrt-personal-pkgs-f61f881d6428aa4935d593dcc11bcd25559d510f.tar.bz2
openwrt-personal-pkgs-f61f881d6428aa4935d593dcc11bcd25559d510f.zip
sentinel-minipot: disable syslog logging
Diffstat (limited to 'sentinel-minipot/files/init')
-rwxr-xr-xsentinel-minipot/files/init6
1 files changed, 4 insertions, 2 deletions
diff --git a/sentinel-minipot/files/init b/sentinel-minipot/files/init
index e10889c..c243697 100755
--- a/sentinel-minipot/files/init
+++ b/sentinel-minipot/files/init
@@ -24,8 +24,10 @@ 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
+ # TODO uncomment or replace logging once debug logs are no longer printed
+ # Otherwise this just spams log a lot.
+ #procd_set_param stdout 1
+ #procd_set_param stderr 1
procd_set_param file /etc/config/sentinel
procd_close_instance
}