monthly-btrfs-balance.service: move restart to [Unit] where it belongs to

This commit is contained in:
Aminda Suomalainen 2025-01-02 21:30:46 +02:00
parent aa854dac8d
commit 137b481962
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723

View File

@ -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