1
1
Fork 0
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-06-02 02:36:02 +02:00

Merge branch 'archbuild-user-weights' into 'master'

archbuild: Distribute CPU and IO resources equally among users

See merge request archlinux/infrastructure!564
This commit is contained in:
Jan Alexander Steffens (heftig) 2022-04-28 00:08:52 +00:00
commit 9cdcd6e243
2 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,3 @@
[Slice]
CPUWeight=100
IOWeight=100

View File

@ -62,6 +62,9 @@
- mkpkg@.timer
- mkpkg@.service
- name: install user-.slice snippet
copy: src=user-.slice.d dest=/etc/systemd/system owner=root group=root mode=0644
- name: start and enable archbuild mounts
service: name={{ item }} enabled={{ "yes" if archbuild_fs == 'tmpfs' else "no" }} state={{ "started" if archbuild_fs == 'tmpfs' else "stopped" }}
with_items: