diff options
| author | Ryan Kavanagh <rak@rak.ac> | 2025-11-05 09:32:33 -0500 |
|---|---|---|
| committer | Ryan Kavanagh <rak@rak.ac> | 2025-11-05 09:32:33 -0500 |
| commit | 5f50605d68fcd83501bd3914c5682ace32235540 (patch) | |
| tree | 84921c2be6188f472b502a90b4709324059c27ca /dot_config/systemd/user/sbuild-update.service | |
| parent | Debian known hosts (diff) | |
Diffstat (limited to 'dot_config/systemd/user/sbuild-update.service')
| -rw-r--r-- | dot_config/systemd/user/sbuild-update.service | 29 |
1 files changed, 29 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..82c6bb3 --- /dev/null +++ b/dot_config/systemd/user/sbuild-update.service @@ -0,0 +1,29 @@ +[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 + +CapabilityBoundingSet=CAP_DAC_READ_SEARCH CAP_CHOWN +IPAddressDeny=any +LockPersonality=true +MemoryDenyWriteExecute=true +NoNewPrivileges=true +PrivateTmp=true +PrivateDevices=true +PrivateNetwork=true +ProtectClock=true +ProtectControlGroups=true +ProtectHostname=true +RestrictAddressFamilies=AF_UNIX +RestrictNamespaces=true +RestrictRealtime=true +RestrictSUIDSGID=true +SystemCallArchitectures=native +SystemCallFilter=@system-service @chown |
