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