diff options
author | Christian Hesse <mail@eworm.de> | 2015-06-15 00:21:26 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2016-01-27 19:37:44 +0100 |
commit | dcf941b61d25e3ec74c1276845278baade10d736 (patch) | |
tree | 41768542031f4a934769a7602bfdad04f27e03ab | |
parent | 37ddd6040ce9ba3cab820ca9e21731e23bfd6838 (diff) | |
download | paccache-dcf941b61d25e3ec74c1276845278baade10d736.tar.gz paccache-dcf941b61d25e3ec74c1276845278baade10d736.tar.zst |
disable directory listing
-rw-r--r-- | systemd/pacdbserve.service | 2 | ||||
-rw-r--r-- | systemd/pacserve.service | 2 |
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 |