-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmmr-retention.service
executable file
·61 lines (53 loc) · 1.15 KB
/
mmr-retention.service
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
[Unit]
After=network-online.target
Description=mmr-retention
[Service]
DynamicUser=yes
Type=simple
ExecStart=/usr/bin/mmr-retention
TimeoutStartSec=1200000
TimeoutStopSec=10
Restart=on-failure
RestartSec=120s
OOMPolicy=stop
OOMScoreAdjust=100
EnvironmentFile=/etc/mmr-retention/envs
CapabilityBoundingSet=
AmbientCapabilities=
IPAddressDeny=multicast
DevicePolicy=closed
ProtectSystem=strict
ProtectHome=yes
PrivateTmp=yes
PrivateDevices=yes
ProtectHostname=yes
ProtectClock=yes
ProtectKernelTunables=yes
ProtectKernelModules=yes
ProtectKernelLogs=yes
ProtectControlGroups=yes
RestrictAddressFamilies=AF_INET AF_INET6
RestrictNamespaces=yes
LockPersonality=yes
MemoryDenyWriteExecute=yes
RestrictRealtime=yes
RestrictSUIDSGID=yes
RemoveIPC=yes
SystemCallArchitectures=native
ProtectProc=invisible
ProcSubset=pid
PrivateUsers=yes
SystemCallFilter=~@clock
SystemCallFilter=~@cpu-emulation
SystemCallFilter=~@debug
SystemCallFilter=~@module
SystemCallFilter=~@mount
SystemCallFilter=~@obsolete
SystemCallFilter=~@privileged
SystemCallFilter=~@raw-io
SystemCallFilter=~@reboot
SystemCallFilter=~@resources
SystemCallFilter=~@swap
UMask=077
[Install]
WantedBy=multi-user.target