diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2014-07-19 00:37:09 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2014-07-19 00:37:09 +0200 |
commit | f1ff88945ec0f96ff542e20df72faff4deb9b598 (patch) | |
tree | 4dacf8bef312fb1ece0220d9fc8d25ce6d3102f6 | |
parent | 93b84bfff5b41e491879864e4d9f6c62dc4b10b4 (diff) | |
download | socklog-void-f1ff88945ec0f96ff542e20df72faff4deb9b598.tar.gz socklog-void-f1ff88945ec0f96ff542e20df72faff4deb9b598.tar.xz socklog-void-f1ff88945ec0f96ff542e20df72faff4deb9b598.zip |
optional support for logging to tty12
-rw-r--r-- | socklog/tty12/config | 6 | ||||
-rwxr-xr-x | sv/socklog-unix/log/run | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/socklog/tty12/config b/socklog/tty12/config new file mode 100644 index 0000000..5e634b0 --- /dev/null +++ b/socklog/tty12/config @@ -0,0 +1,6 @@ +-* +# uncomment to output logs to tty12 +# (also change /etc/sv/socklog-unix/log/run) +#e* +#Eauth.* +#Eauthpriv.* diff --git a/sv/socklog-unix/log/run b/sv/socklog-unix/log/run index 9a27970..8da81f8 100755 --- a/sv/socklog-unix/log/run +++ b/sv/socklog-unix/log/run @@ -1,2 +1,2 @@ #!/bin/sh -exec svlogd -ttt /var/log/socklog/* +exec svlogd -ttt /var/log/socklog/* #2>/dev/tty12 |