]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/systemd-coredump@.service.in
test-string-util: add another test for stripping slashes
[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
21Nice=9
22OOMScoreAdjust=500
924453c2
LP
23RuntimeMaxSec=5min
24PrivateTmp=yes
25PrivateDevices=yes
3c171f0b 26PrivateNetwork=yes
c7fb922d 27ProtectSystem=strict
924453c2
LP
28ProtectHome=yes
29ProtectControlGroups=yes
30ProtectKernelTunables=yes
31ProtectKernelModules=yes
32MemoryDenyWriteExecute=yes
33RestrictRealtime=yes
34RestrictNamespaces=yes
35RestrictAddressFamilies=AF_UNIX
36SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module @mount @obsolete @raw-io @reboot @swap
7f396e5f 37SystemCallArchitectures=native
bff8f254 38LockPersonality=yes
0a9b166b 39IPAddressDeny=any
d0e62ae0 40StateDirectory=systemd/coredump