Created
October 31, 2019 14:07
-
-
Save lheckemann/8bce78d6199f3c8ad38bd9e10c91b4ba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
systemd.services.clear-scratch = { | |
serviceConfig.ExecStart = "/run/booted-system/sw/bin/zfs rollback bringtnix/scratch@empty"; | |
}; | |
systemd.timers.clear-scratch = { | |
timerConfig.OnCalendar = "03:00"; | |
timerConfig.Persistent = true; | |
wantedBy = ["multi-user.target"]; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment