aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/pacserve.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/pacserve.service')
-rw-r--r--systemd/pacserve.service4
1 files changed, 4 insertions, 0 deletions
diff --git a/systemd/pacserve.service b/systemd/pacserve.service
index 74db6ef..6ec4aab 100644
--- a/systemd/pacserve.service
+++ b/systemd/pacserve.service
@@ -6,6 +6,10 @@ After=network.target
User=nobody
Group=nobody
ExecStart=/usr/bin/darkhttpd /var/cache/pacman/pkg/ --port 7078
+ProtectSystem=full
+ProtectHome=on
+PrivateDevices=on
+NoNewPrivileges=on
[Install]
WantedBy=multi-user.target