Disable coredump in systemd as well

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-06-04 14:09:50 -07:00
parent 71d681ff8b
commit 37ab9797c7
No known key found for this signature in database
GPG Key ID: 555C902A34EC968F
2 changed files with 9 additions and 0 deletions

View File

@ -166,6 +166,12 @@
"source": "https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/security/limits.d/30-disable-coredump.conf" "source": "https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/security/limits.d/30-disable-coredump.conf"
} }
}, },
{
"path": "/etc/systemd/coredump.conf.d",
"contents": {
"source": "https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/systemd/coredump.conf.d/disable.conf"
}
},
{ {
"overwrite": true, "overwrite": true,
"path": "/etc/sysconfig/chronyd", "path": "/etc/sysconfig/chronyd",

View File

@ -229,6 +229,9 @@ storage:
- path: /etc/security/limits.d/30-disable-coredump.conf - path: /etc/security/limits.d/30-disable-coredump.conf
contents: contents:
source: https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/security/limits.d/30-disable-coredump.conf source: https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/security/limits.d/30-disable-coredump.conf
- path: /etc/systemd/coredump.conf.d
contents:
source: https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/systemd/coredump.conf.d/disable.conf
- path: /etc/sysconfig/chronyd - path: /etc/sysconfig/chronyd
overwrite: true overwrite: true
contents: contents: