LaserEyess
2e9f70d496
Do not inhibit idle in borgmatic.service
...
When backing up a machine with a monitor using logind to control idle
timeout and things like DPMS, borgmatic can block the screen from
turning on/off with systemd-inhibit. This is because by default
systemd-inhibit will block "idle:sleep:shutdown". Borgmatic does not
need to care about idle, only about suspend and shutdown. So, add an
explicit `--what` flag for what borgmatic should inhibit.
For more information see systemd-inhibit(1).
2022-10-01 09:33:38 -04:00
ca0c79c93c
Fix duplicate bind path in sample systemd service.
continuous-integration/drone/push Build is running
2022-08-28 14:49:23 -07:00
Daniel Lo Nigro
3ecb92a8d2
Add randomized delay to systemd timer
2022-05-07 16:42:06 -07:00
bb0716421d
Add comment about systemd service setting that may interfere with external commands in hooks ( #492 ).
continuous-integration/drone/push Build is passing
2022-01-25 09:26:11 -08:00
1004500d65
Update sample systemd service file comments about more granular read-only filesystem settings.
continuous-integration/drone/push Build is passing
2021-10-11 09:33:07 -07:00
Vladimir Timofeenko
6df6176f3a
Added more strict ProtectHome to systemd unit
...
This commit changes the comment in sample systemd service.
Using a combination of 'ProtectHome' and 'BindPaths' it's possible to
hide the irrelevant paths inside /root from borgmatic service when it is
run.
ReadWritePaths are suggested to be used only for paths that contain borg
repositories and the backup sources can be specified as ReadOnlyPaths.
2021-08-30 11:20:34 -07:00
bc2e611a74
Suppress console output in sample crontab/systemd service files ( #379 ).
...
continuous-integration/drone/push Build is passing
Reviewed-on: witten/borgmatic#379
2021-06-23 17:32:47 +00:00
b37dd1a79e
Document use case of running backups conditionally based on laptop power level ( #419 ).
continuous-integration/drone/push Build is passing
2021-06-09 10:03:35 -07:00
d1c403999f
Reduce console output in sample crontab/systemd service files.
...
continuous-integration/drone/pr Build is failing
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.
2021-04-13 01:40:57 +08:00
717c90a7d0
Clarify in systemd service file comment that security settings are optional.
continuous-integration/drone/push Build is failing
2020-12-09 10:08:07 -08:00
8fde19a7dc
Update systemd service example to return a permission error when a system call isn't permitted.
continuous-integration/drone/push Build is passing
2020-11-30 22:14:28 -08:00
9b83fcbf06
Add comment about MemoryDenyWriteExecute value and the tradeoffs thereof.
continuous-integration/drone/push Build is passing
2020-08-23 14:11:19 -07:00
32a93ce8a2
Loosen systemd memory security setting to allow Healthchecks ping.
continuous-integration/drone/push Build is passing
2020-08-22 13:37:34 -07:00
631c3068a9
systemd security settings
2020-08-22 15:41:25 +02:00
602ad9e7ee
Add note about indirect dbus dependency.
continuous-integration/drone/push Build is passing
2020-05-21 19:56:32 -07:00
88f06f7921
Revert "Use absolute paths in systemd commands."
...
continuous-integration/drone/push Build is passing
This reverts commit 24e1516ec5
.
2020-01-21 16:03:24 -08:00
1995c80e60
Add comment about old versions of systemd and option compatibility ( #275 ).
continuous-integration/drone/push Build is passing
2020-01-02 10:05:32 -08:00
24e1516ec5
Use absolute paths in systemd commands.
continuous-integration/drone/push Build is passing
2020-01-01 17:14:55 -08:00
89dccc25c3
Add AC power condition for systemd service ( #205 ).
continuous-integration/drone/push Build is passing
2019-09-24 10:43:30 -07:00
3846155d62
More robust sample systemd service: boot delay, network dependency, lowered CPU/IO priority, etc ( #205 ).
continuous-integration/drone/push Build is passing
2019-09-24 10:16:30 -07:00
4f0d3bf4ed
Add docs/default about systemd journald rate limiting.
continuous-integration/drone/push Build is passing
2019-06-11 17:03:40 -07:00
67f2862fb1
Change paths to reflect new pip install --user documentation.
2019-05-14 10:00:50 -07:00
Florian Lindner
64bdbc4bf0
Add Persistent, so that the timer is triggered if missed last time.
2018-05-17 21:47:58 +02:00
49c4f483fd
Sample files for triggering borgmatic from a systemd timer.
2016-07-04 09:19:34 -07:00