]> git.ipfire.org Git - thirdparty/systemd.git/blob - units/systemd-coredump@.service.in
test-string-util: add another test for stripping slashes
[thirdparty/systemd.git] / units / systemd-coredump@.service.in
1 # SPDX-License-Identifier: LGPL-2.1+
2 #
3 # This file is part of systemd.
4 #
5 # systemd is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU Lesser General Public License as published by
7 # the Free Software Foundation; either version 2.1 of the License, or
8 # (at your option) any later version.
9
10 [Unit]
11 Description=Process Core Dump
12 Documentation=man:systemd-coredump(8)
13 DefaultDependencies=no
14 Conflicts=shutdown.target
15 After=systemd-remount-fs.service systemd-journald.socket
16 Requires=systemd-journald.socket
17 Before=shutdown.target
18
19 [Service]
20 ExecStart=-@rootlibexecdir@/systemd-coredump
21 Nice=9
22 OOMScoreAdjust=500
23 RuntimeMaxSec=5min
24 PrivateTmp=yes
25 PrivateDevices=yes
26 PrivateNetwork=yes
27 ProtectSystem=strict
28 ProtectHome=yes
29 ProtectControlGroups=yes
30 ProtectKernelTunables=yes
31 ProtectKernelModules=yes
32 MemoryDenyWriteExecute=yes
33 RestrictRealtime=yes
34 RestrictNamespaces=yes
35 RestrictAddressFamilies=AF_UNIX
36 SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module @mount @obsolete @raw-io @reboot @swap
37 SystemCallArchitectures=native
38 LockPersonality=yes
39 IPAddressDeny=any
40 StateDirectory=systemd/coredump