Commit Graph

6 Commits

Author SHA1 Message Date
Michael Biebl
93417d9013 Use more consistent shell script headers
Gbp-Dch: Ignore
2020-01-31 10:46:58 +01:00
Martin Pitt
bdbe16b96d systemd-coredump.{prerm,postinst}: Fix order
Start/stop the socket before/after setting core_pattern.
2016-03-14 17:13:22 +01:00
Martin Pitt
c62dd28066 systemd-coredump.{prerm,postinst: Only call systemctl when running systemd 2016-03-14 17:05:14 +01:00
Evgeny Vereshchagin
ae33083322 Add systemd-coredump postinst/prerm to start/stop systemd-coredump.socket without a reboot
Fixes:
apt-get install systemd-coredump
bash -c 'kill -SEGV $$'
journalctl -b -t systemd-coredump
...
systemd-coredump[15609]: Failed to connect to coredump service: Connection refused

Closes: #816767
2016-03-14 15:33:55 +01:00
Martin Pitt
8dc97a6093 systemd-coredump.preinst: Only reset if core_pattern actually was systemd-coredump 2015-11-13 11:27:24 +01:00
Martin Pitt
ca34ce5327 Add systemd-coredump postinst/prerm to enable/disable this without a reboot 2015-11-13 10:02:51 +01:00