We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62901b0 commit 34ee501Copy full SHA for 34ee501
systemd-daemon/parsec.service
@@ -5,6 +5,15 @@ Documentation=https://parallaxsecond.github.io/parsec-book/parsec_service/instal
5
[Service]
6
WorkingDirectory=/home/parsec/
7
ExecStart=/usr/libexec/parsec/parsec --config /etc/parsec/config.toml
8
+# Systemd hardening
9
+ProtectSystem=full
10
+ProtectHome=true
11
+ProtectHostname=true
12
+ProtectKernelTunables=true
13
+ProtectKernelModules=true
14
+ProtectKernelLogs=true
15
+ProtectControlGroups=true
16
+RestrictRealtime=true
17
18
[Install]
19
WantedBy=default.target
0 commit comments