install: fluff it, install app.slice.d/cpuquota & oomd.conf

This commit is contained in:
Aminda Suomalainen 2025-06-27 12:47:59 +03:00
parent 6b5ecb4516
commit 956ab15ca3
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723

View File

@ -164,7 +164,9 @@ if [ "$(id -u)" == "0" ]; then
# Systemd configuration directories. SECURITY WARNINGS!
mkdir -vp /etc/systemd/{system,system-preset,user,network}/
mkdir -vp /etc/systemd/system/{app.slice.d,service.d}/
cp -v etc/systemd/system/app.slice.d/90-cpuquota.conf /etc/systemd/system/app.slice.d/90-cpuquota.conf
mkdir -vp /etc/systemd/{coredump,login,oomd,journald,resolved,system,timesyncd}.conf.d/
cp -v etc/systemd/oomd.conf.d/20-oomd.conf /etc/systemd/oomd.conf.d/20-oomd.conf
mkdir -vp /etc/systemd/system/{ssh,sshd,sshguard,systemd-resolved,systemd-networkd,NetworkManager,iwd,unbound,tor,yggdrasil}.service.d/
# SECURITY WARNING!
cp -v etc/systemd/system/service.d/never-fail.conf /etc/systemd/system/ssh.service.d/