Two Python classes that rotate log files and compress them
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Script used to debug sub-processes launched via sys.executable | |
| # We replace sys.executable with this script, which inserts code | |
| # that starts debugging before the users's module is invoked. | |
| # The command line contains the file name to debug and its arguments | |
| # The debugger is configured using the following envs: | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| obj-m := nct6775-core.o | |
| nct6775-objs := nct6775-platform.o | |
| obj-$(CONFIG_SENSORS_NCT6775) += nct6775.o | |
| ## this is not currently compiled | |
| #obj-$(CONFIG_SENSORS_NCT6775_I2C) += nct6775-i2c.o |
rsyslog can send logs to a remote server, encrypted with TLS (to avoid tampering and MIM attacks);
but generating certificates can be difficult; enters letsencrypt to save the day.
Currently the module imtcp seems to have a bug [1] so we use relp
We assume Ubuntu or Debian below. All commands are to be done as root, or using sudo