mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-03-06 14:40:37 +01:00
monthly-btrfs-balance.service: move restart to [Unit] where it belongs to
This commit is contained in:
parent
aa854dac8d
commit
137b481962
@ -1,8 +1,6 @@
|
||||
[Unit]
|
||||
Description=Monthly BTRFS full balancing
|
||||
After=aminda-duperemove.service
|
||||
Restart=on-failure
|
||||
RestartSec=5s
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
@ -12,6 +10,8 @@ ExecStart=btrfs balance start --full-balance /
|
||||
User=root
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
Restart=on-failure
|
||||
RestartSec=5s
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Loading…
x
Reference in New Issue
Block a user