]>
Commit | Line | Data |
---|---|---|
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] | |
11 | Description=Process Core Dump | |
12 | Documentation=man:systemd-coredump(8) | |
13 | DefaultDependencies=no | |
3c171f0b LP |
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 | |
924453c2 LP |
23 | RuntimeMaxSec=5min |
24 | PrivateTmp=yes | |
25 | PrivateDevices=yes | |
3c171f0b | 26 | PrivateNetwork=yes |
c7fb922d | 27 | ProtectSystem=strict |
924453c2 LP |
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 | |
ee8f2618 LP |
36 | SystemCallFilter=@system-service |
37 | SystemCallErrorNumber=EPERM | |
7f396e5f | 38 | SystemCallArchitectures=native |
bff8f254 | 39 | LockPersonality=yes |
0a9b166b | 40 | IPAddressDeny=any |
d0e62ae0 | 41 | StateDirectory=systemd/coredump |