-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlivemon.service
40 lines (39 loc) · 971 Bytes
/
livemon.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
[Service]
ExecStart=/usr/bin/livemon daemon --addr=[::]:9843 --unix=/run/livemon/livemon.sock
StateDirectory=livemon
StateDirectoryMode=0700
RuntimeDirectory=livemon
RuntimeDirectoryMode=0700
Restart=on-failure
ProtectProc=invisible
ProcSubset=pid
DynamicUser=true
CapabilityBoundingSet=
AmbientCapabilities=
NoNewPrivileges=true
SecureBits=no-setuid-fixup no-setuid-fixup-locked noroot noroot-locked
KeyringMode=private
ProtectSystem=strict
ProtectHome=true
PrivateTmp=true
PrivateDevices=true
PrivateIPC=true
PrivateUsers=true
ProtectHostname=true
ProtectClock=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
RestrictNamespaces=true
LockPersonality=true
MemoryDenyWriteExecute=true
RestrictRealtime=true
RestrictSUIDSGID=true
RemoveIPC=true
PrivateMounts=true
SystemCallFilter=@system-service
SystemCallArchitectures=native
[Install]
WantedBy=multi-user.target