1
0
Fork 0
systemd/debian/systemd-coredump.postinst
Daniel Baumann 1bd927b9e1
Adding debian version 257.7-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 18:07:46 +02:00

13 lines
337 B
Bash

#!/bin/sh
set -e
if [ "$1" = configure ]; then
# enable systemd-coredump right after package installation
if [ -d /run/systemd/system ]; then
systemctl daemon-reload && systemctl start systemd-coredump.socket || true
fi
/usr/lib/systemd/systemd-sysctl /usr/lib/sysctl.d/50-coredump.conf || true
fi
#DEBHELPER#