Commit Graph

4 Commits (c9d95a6302cb13ddfb1bd1df2f845c16acda2cd0)

Author SHA1 Message Date
Christoph Anton Mitterer c9d95a6302 contrib: systemd: run units only with existing config file
It does not make sense for the timer or the service to be started (the latter
when done so manually) when neither of the two default config files exists.

Signed-off-by: Christoph Anton Mitterer <mail@christoph.anton.mitterer.name>
2022-11-12 04:55:34 +01:00
Christoph Anton Mitterer 87eeefa0ca contrib: systemd: btrbk.timer: run hourly
btrbk supports hourly backups, so it makes sense for the timer to run hourly,
too.

Signed-off-by: Christoph Anton Mitterer <mail@christoph.anton.mitterer.name>
2022-11-12 04:45:00 +01:00
Asbjørn Apeland 2d7f5ec5fe contrib: systemd: btrbk.timer: change install target
Using `WantedBy=multi-user.target` makes boot wait for btrbk.service
before it's considered "finished". This can be checked by running
`systemd-analyze` or checking the system log using `journalctl`.

Timers should use the "timers.target" target, see systemd.special(7).
2019-10-27 12:24:00 +01:00
Asbjørn Apeland 16d73b4e5a Makefile: support .in files (use to replace @BINDIR@ in btrbk.service) 2016-07-13 20:56:28 +02:00