mirror of
https://github.com/naruxde/revpipyload.git
synced 2026-09-30 23:14:29 +02:00
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:
1 parent
88ee0e4eae
commit
b3c7544daa
7 files changed
+976
-119
No files matched your search
Vendored
+3
-8
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user