mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-03-06 23:00:39 +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]
|
[Unit]
|
||||||
Description=Monthly BTRFS full balancing
|
Description=Monthly BTRFS full balancing
|
||||||
After=aminda-duperemove.service
|
After=aminda-duperemove.service
|
||||||
Restart=on-failure
|
|
||||||
RestartSec=5s
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
@ -12,6 +10,8 @@ ExecStart=btrfs balance start --full-balance /
|
|||||||
User=root
|
User=root
|
||||||
StandardOutput=journal
|
StandardOutput=journal
|
||||||
StandardError=journal
|
StandardError=journal
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=5s
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
x
Reference in New Issue
Block a user