(chore): fix systemd units

- Best wording
- Don't allow to enable `.service` units, that wouldn't make sense because they're managed by timers
This commit is contained in:
Eduard Tolosa 2025-09-08 11:54:31 -05:00
parent 2f47feccd7
commit a2de007c87
6 changed files with 6 additions and 12 deletions

View file

@ -1,5 +1,5 @@
[Unit]
Description=Take system snapshots weekly.
Description=Weekly snapshots for home and root subvolumes
[Service]
Type=oneshot
@ -7,6 +7,3 @@ ExecStart=/usr/bin/rusnapshot -c /etc/rusnapshot/config-root.toml --create --kin
ExecStart=/usr/bin/rusnapshot -c /etc/rusnapshot/config-root.toml --clean --kind weekly
ExecStart=/usr/bin/rusnapshot -c /etc/rusnapshot/config-home.toml --create --kind weekly
ExecStart=/usr/bin/rusnapshot -c /etc/rusnapshot/config-home.toml --clean --kind weekly
[Install]
WantedBy=default.target