]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/systemd-coredump@.service.in
Merge pull request #12802 from irtimmer/fix-openssl
[thirdparty/systemd.git] / units / systemd-coredump@.service.in
CommitLineData
a7df2d1e
ZJS
1# SPDX-License-Identifier: LGPL-2.1+
2#
3c171f0b
LP
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]
11Description=Process Core Dump
12Documentation=man:systemd-coredump(8)
13DefaultDependencies=no
3c171f0b
LP
14Conflicts=shutdown.target
15After=systemd-remount-fs.service systemd-journald.socket
16Requires=systemd-journald.socket
17Before=shutdown.target
18
19[Service]
20ExecStart=-@rootlibexecdir@/systemd-coredump
3ca9940c
LP
21IPAddressDeny=any
22LockPersonality=yes
23MemoryDenyWriteExecute=yes
3c171f0b 24Nice=9
3ca9940c 25NoNewPrivileges=yes
3c171f0b 26OOMScoreAdjust=500
924453c2 27PrivateDevices=yes
3c171f0b 28PrivateNetwork=yes
3ca9940c 29PrivateTmp=yes
924453c2 30ProtectControlGroups=yes
3ca9940c 31ProtectHome=yes
99894b86 32ProtectHostname=yes
924453c2 33ProtectKernelModules=yes
3ca9940c
LP
34ProtectKernelTunables=yes
35ProtectSystem=strict
924453c2 36RestrictAddressFamilies=AF_UNIX
3ca9940c
LP
37RestrictNamespaces=yes
38RestrictRealtime=yes
62aa2924 39RestrictSUIDSGID=yes
3ca9940c 40RuntimeMaxSec=5min
d0e62ae0 41StateDirectory=systemd/coredump
3ca9940c
LP
42SystemCallArchitectures=native
43SystemCallErrorNumber=EPERM
44SystemCallFilter=@system-service