forked from pool/tinyproxy
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 371c970915 | |||
| 125565df9b |
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 8 12:06:10 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Add userswitching to logrotate snippet [boo#1246092]
|
||||||
|
- Replace sysvinit call in logrotate snippet by systemctl
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 8 19:02:38 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
Wed May 8 19:02:38 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
|||||||
@@ -1,14 +1,15 @@
|
|||||||
/var/log/tinyproxy/tinyproxy.log {
|
/var/log/tinyproxy/tinyproxy.log {
|
||||||
compress
|
compress
|
||||||
dateext
|
dateext
|
||||||
maxage 365
|
maxage 365
|
||||||
rotate 99
|
rotate 99
|
||||||
size=+4096k
|
size=+4096k
|
||||||
notifempty
|
notifempty
|
||||||
missingok
|
missingok
|
||||||
create 640 tinyproxy root
|
create 640 tinyproxy root
|
||||||
sharedscripts
|
sharedscripts
|
||||||
postrotate
|
su tinyproxy tinyproxy
|
||||||
/etc/init.d/tinyproxy reload
|
postrotate
|
||||||
endscript
|
/usr/bin/systemctl try-restart tinyproxy
|
||||||
|
endscript
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user