Add config templates, services and timers examples.

This commit is contained in:
Edu4rdSHL 2021-04-19 12:34:02 -05:00
parent 84530ec971
commit f95e71f033
No known key found for this signature in database
GPG key ID: 3A574A4009F553E5
10 changed files with 92 additions and 0 deletions

View file

@ -0,0 +1,12 @@
[Unit]
Description=Take system snapshots weekly.
[Service]
Type=oneshot
ExecStart=/usr/bin/rusnapshot -c /etc/rusnapshot/config-root.toml --cr --clean --kind weekly
ExecStart=/usr/bin/rusnapshot -c /etc/rusnapshot/config-root.toml --cr --clean --kind weekly --rw
ExecStart=/usr/bin/rusnapshot -c /etc/rusnapshot/config-home.toml --cr --clean --kind weekly
ExecStart=/usr/bin/rusnapshot -c /etc/rusnapshot/config-home.toml --cr --clean --kind weekly --rw
[Install]
WantedBy=default.target