mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-02-03 08:14:02 +01:00
19 lines
393 B
Desktop File
19 lines
393 B
Desktop File
[Unit]
|
|
Description=Monthly BTRFS full balancing
|
|
After=aminda-duperemove.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
TimeoutStartSec=infinity
|
|
# Contained in `systemd-path search-binaries-default`
|
|
ExecStartPre=-btrfs balance cancel /
|
|
ExecStart=btrfs balance start --full-balance /
|
|
User=root
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
Restart=on-failure
|
|
RestartSec=5s
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|