Skip to content

Commit 31d0718

Browse files
authored
Merge pull request #27 from thin-edge/fix-ubuntu-24.04-compat
fix ubuntu 24.04 compatibility
2 parents 7407d3e + 986d359 commit 31d0718

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

src/service/monit.service

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,5 @@ ExecReload=/usr/bin/monit reload
1212
Restart=on-abnormal
1313
StandardOutput=null
1414

15-
# hardening options
16-
# details: https://www.freedesktop.org/software/systemd/man/systemd.exec.html
17-
CapabilityBoundingSet=~CAP_SYS_ADMIN
18-
LockPersonality=true
19-
MemoryDenyWriteExecute=true
20-
NoNewPrivileges=true
21-
PrivateTmp=true
22-
ProtectClock=true
23-
ProtectControlGroups=true
24-
ProtectHome=yes
25-
ProtectHostname=true
26-
ProtectKernelLogs=true
27-
ProtectKernelModules=true
28-
ProtectKernelTunables=true
29-
ProtectSystem=strict
30-
ReadWritePaths=/run/ /var/lib/monit/ /var/log/ /etc/tedge/ /opt/tedge-monit/
31-
RestrictRealtime=true
32-
RestrictSUIDSGID=true
33-
SystemCallArchitectures=native
34-
3515
[Install]
3616
WantedBy=multi-user.target

0 commit comments

Comments
 (0)