]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/systemd-coredump@.service.in
units: sort [Service] sections alphabetically
[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
52ef7bbb
LP
21IPAddressDeny=any
22LockPersonality=yes
23MemoryDenyWriteExecute=yes
3c171f0b
LP
24Nice=9
25OOMScoreAdjust=500
924453c2 26PrivateDevices=yes
3c171f0b 27PrivateNetwork=yes
52ef7bbb 28PrivateTmp=yes
04c65645 29ProtectControlGroups=yes
52ef7bbb 30ProtectHome=yes
04c65645 31ProtectKernelModules=yes
52ef7bbb
LP
32ProtectKernelTunables=yes
33ProtectSystem=strict
04c65645 34RestrictAddressFamilies=AF_UNIX
52ef7bbb
LP
35RestrictNamespaces=yes
36RestrictRealtime=yes
37RuntimeMaxSec=5min
04c65645 38StateDirectory=systemd/coredump
52ef7bbb
LP
39SystemCallArchitectures=native
40SystemCallErrorNumber=EPERM
41SystemCallFilter=@system-service