signal für neue LogFiles erstellt. FileHandler werden umgehängt

logrotate ruft signal SIGUSR1 auf
Ausgaben des Python PLC Programms über eine PIPE führen um diese in neuen
Loghandler zu schreiben
proginit als globales Modul umgebaut (kein Vererbung mehr)
This commit is contained in:
akira committed 2017-03-21 18:14:05 +01:00
1 parent 88ee0e4eae
commit b3c7544daa
7 files changed
+976 -119

No files matched your search

+3 -8
View File
@@ -1,12 +1,4 @@
/var/log/revpipyload
{
rotate 6
weekly
compress
delaycompress
missingok
notifempty
}
/var/log/revpipyloadapp
{
rotate 6
@@ -15,4 +7,7 @@
delaycompress
missingok
notifempty
postrotate
kill -SIGUSR1 `cat /var/run/revpipyload.pid` > /dev/null 2>&1 || true
endscript
}