aboutsummaryrefslogtreecommitdiff
path: root/dot_config/systemd/user/sbuild-update.service
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dot_config/systemd/user/sbuild-update.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/dot_config/systemd/user/sbuild-update.service b/dot_config/systemd/user/sbuild-update.service
new file mode 100644
index 0000000..2d93232
--- /dev/null
+++ b/dot_config/systemd/user/sbuild-update.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Update sbuild unshare chroot tarballs
+ConditionACPower=true
+Wants=network-online.target
+
+[Service]
+Type=oneshot
+ExecStart=%h/.local/lib/sbuild/update-chroots.sh
+LimitNOFILE=131072
+IOSchedulingClass=idle
+Nice=19