Skip to content

Commit 4a000bb

Browse files
committed
Remove [Install] sections fron snapraid one-off services
Timer-activated oneshot services shouldn't be directly startable at boot — the timer handles scheduling. This won't cause harm but is incorrect systemd practice.
1 parent ec251c0 commit 4a000bb

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

metal/roles/storage/templates/snapraid-runner.timer.j2

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,3 @@ Description=Run SnapRAID daily sync
66
OnCalendar=*-*-* {{ snapraid_maintenance.sync_time }}:00
77
Persistent=true
88
RandomizedDelaySec=5m
9-
10-
[Install]
11-
WantedBy=timers.target

metal/roles/storage/templates/snapraid-scrub.service.j2

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,3 @@ User=root
1010
Group=root
1111
StandardOutput=append:/var/log/snapraid/snapraid-scrub.log
1212
StandardError=append:/var/log/snapraid/snapraid-scrub.log
13-
14-
[Install]
15-
WantedBy=multi-user.target

0 commit comments

Comments
 (0)