Fix ordering for conflicts
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=rsnapshot daily backup
|
Description=rsnapshot daily backup
|
||||||
PartOf=rsnapshot-schedule.target
|
PartOf=rsnapshot-schedule.target
|
||||||
|
Before=rsnapshot-weekly.timer rsnapshot-monthly.timer
|
||||||
|
|
||||||
[Timer]
|
[Timer]
|
||||||
# 05:30 is the clock time when to start it
|
# 05:30 is the clock time when to start it
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=rsnapshot hourly backup
|
Description=rsnapshot hourly backup
|
||||||
PartOf=rsnapshot-schedule.target
|
PartOf=rsnapshot-schedule.target
|
||||||
|
Before=rsnapshot-daily.timer rsnapshot-weekly.timer rsnapshot-monthly.timer
|
||||||
|
|
||||||
[Timer]
|
[Timer]
|
||||||
# Run hourly
|
# Run hourly
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=rsnapshot weekly backup
|
Description=rsnapshot weekly backup
|
||||||
PartOf=rsnapshot-schedule.target
|
PartOf=rsnapshot-schedule.target
|
||||||
|
Before=rsnapshot-monthly.timer
|
||||||
|
|
||||||
[Timer]
|
[Timer]
|
||||||
# Run once per week on Monday at 4:30, after daily runs
|
# Run once per week on Monday at 4:30, after daily runs
|
||||||
|
|||||||
@@ -9,5 +9,6 @@ Type=oneshot
|
|||||||
Nice=19
|
Nice=19
|
||||||
IOSchedulingClass=idle
|
IOSchedulingClass=idle
|
||||||
PIDFile=%h/.config/systemd/user/rsnapshot.pid
|
PIDFile=%h/.config/systemd/user/rsnapshot.pid
|
||||||
|
Restart=on-failure
|
||||||
ExecStart=/usr/bin/rsnapshot -c %h/.config/systemd/user/rsnapshot.conf %I
|
ExecStart=/usr/bin/rsnapshot -c %h/.config/systemd/user/rsnapshot.conf %I
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user