mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-02-09 11:24:04 +01:00
monthly-btrfs-balance.service: attempt to cancel existing balance
This commit is contained in:
parent
efd295fafd
commit
682467bf4c
@ -1,12 +1,12 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Monthly BTRFS full balancing
|
Description=Monthly BTRFS full balancing
|
||||||
After=aminda-duperemove.service
|
After=aminda-duperemove.service
|
||||||
Conflicts=aminda-duperemove.service
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
TimeoutStartSec=infinity
|
TimeoutStartSec=infinity
|
||||||
# Contained in `systemd-path search-binaries-default`
|
# Contained in `systemd-path search-binaries-default`
|
||||||
|
ExecStartPre=-btrfs balance cancel /
|
||||||
ExecStart=btrfs balance start --full-balance /
|
ExecStart=btrfs balance start --full-balance /
|
||||||
User=root
|
User=root
|
||||||
StandardOutput=journal
|
StandardOutput=journal
|
||||||
|
Loading…
Reference in New Issue
Block a user