Reduce console output in sample crontab/systemd service files. #379
Reference in New Issue
Block a user
Delete Branch ":cron-systemd-verbosity"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As borgmatic will log to syslog in the sample crontab/systemd service files, this makes console output redundant. (cron will mail any console output to the root user; systemd will log any console output to syslog.)
This adds
--verbosity -1to both files to reduce console output to the minimum.Please note that I have only tested (and am using this change) in the systemd service file. I haven't personally tested the crontab change but I don't see how it can have any negative effects.
5890068e3eto831878ed32Reduce console output in sample cron/systemd service files.to Reduce console output in sample crontab/systemd service files.My solution for systemd was to set
StandardOutput=nullin the service configuration which bins any console output.831878ed32to01c9065a8c01c9065a8ctod1c403999fSorry for the long delay here! This looks like a reasonable change to me. Thank you.