Debian Codegraph @

debian/systemd-coredump.postinst

raw
1 #!/bin/sh
2
3 set -e
4
5 if [ "$1" = configure ]; then
6 # enable systemd-coredump right after package installation
7 if [ -d /run/systemd/system ]; then
8 systemctl daemon-reload && systemctl start systemd-coredump.socket || true
9 fi
10 /usr/lib/systemd/systemd-sysctl /usr/lib/sysctl.d/50-coredump.conf || true
11 fi
12
13 #DEBHELPER#