Replies: 5 comments
-
|
You're right, probably one should be packaged. I use this on my deployments: I prefer dated file names that don't change, to make it easier for daily backups of all files on the server. Also, you can see it uses |
Beta Was this translation helpful? Give feedback.
-
|
Thank you, so I should just change "postrotate |
Beta Was this translation helpful? Give feedback.
-
|
Yeah, there are many signals. Essentially they are just numbers so only have a default action by standard, but the USR1 and USR2 are up to the application to define what they do. I chose this :) |
Beta Was this translation helpful? Give feedback.
-
|
after changing to "postrotate killall -SIGUSR1 flashmq" I take a look at the log file and today I saw: log stays empty. so i switched to 0644 -> so I can take a look at the log file with non-root as before |
Beta Was this translation helpful? Give feedback.
-
|
There is probably another reason for that. Try just sending the signal on the command line and see if it logs that it's reopening the log file. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, what do you think about a logrotate for FlashMQ?
I built the following:
/etc/logrotate.d/flashmq
Beta Was this translation helpful? Give feedback.
All reactions