summaryrefslogtreecommitdiffstats
path: root/systemd
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2015-06-15 00:21:26 +0200
committerGravatar Christian Hesse <mail@eworm.de>2016-01-27 19:37:44 +0100
commitdcf941b61d25e3ec74c1276845278baade10d736 (patch)
tree41768542031f4a934769a7602bfdad04f27e03ab /systemd
parent37ddd6040ce9ba3cab820ca9e21731e23bfd6838 (diff)
downloadpaccache-dcf941b61d25e3ec74c1276845278baade10d736.tar.gz
paccache-dcf941b61d25e3ec74c1276845278baade10d736.tar.zst
disable directory listing
Diffstat (limited to 'systemd')
-rw-r--r--systemd/pacdbserve.service2
-rw-r--r--systemd/pacserve.service2
2 files changed, 2 insertions, 2 deletions
diff --git a/systemd/pacdbserve.service b/systemd/pacdbserve.service
index fcde113..bff7e08 100644
--- a/systemd/pacdbserve.service
+++ b/systemd/pacdbserve.service
@@ -5,7 +5,7 @@ After=network.target
[Service]
User=nobody
Group=nobody
-ExecStart=/usr/bin/darkhttpd /var/lib/pacman/sync/ --port 7079
+ExecStart=/usr/bin/darkhttpd /var/lib/pacman/sync/ --port 7079 --no-listing
ProtectSystem=full
ProtectHome=on
PrivateDevices=on
diff --git a/systemd/pacserve.service b/systemd/pacserve.service
index 6ec4aab..aaa7cd6 100644
--- a/systemd/pacserve.service
+++ b/systemd/pacserve.service
@@ -5,7 +5,7 @@ After=network.target
[Service]
User=nobody
Group=nobody
-ExecStart=/usr/bin/darkhttpd /var/cache/pacman/pkg/ --port 7078
+ExecStart=/usr/bin/darkhttpd /var/cache/pacman/pkg/ --port 7078 --no-listing
ProtectSystem=full
ProtectHome=on
PrivateDevices=on