computer-playbook/roles/system-btrfs-auto-balancer/templates/system-btrfs-auto-balancer.service.j2

7 lines
196 B
Plaintext
Raw Normal View History

[Unit]
Description=auto balance btrfs
OnFailure=systemd-notifier.cymais@%n.service
[Service]
Type=oneshot
ExecStart=/bin/sh -c '/usr/bin/python {{system_btrfs_auto_balancer_folder}}main.py 90 10'