Reduce console output in sample crontab/systemd service files. #379
No reviewers
Labels
No Label
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: borgmatic-collective/borgmatic#379
Loading…
Reference in New Issue
No description provided.
Delete Branch "jefferyto/borgmatic: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 -1
to 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.
5890068e3e
to831878ed32
Reduce 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=null
in the service configuration which bins any console output.831878ed32
to01c9065a8c
01c9065a8c
tod1c403999f
Sorry for the long delay here! This looks like a reasonable change to me. Thank you.