aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--systemd/pacserve.service2
-rw-r--r--systemd/tmpfiles.conf2
2 files changed, 3 insertions, 1 deletions
diff --git a/systemd/pacserve.service b/systemd/pacserve.service
index f6fb814..9c0882a 100644
--- a/systemd/pacserve.service
+++ b/systemd/pacserve.service
@@ -10,7 +10,7 @@ Description=Serve pacman database files and package archives
After=systemd-tmpfiles-setup.service network.target
[Service]
-ExecStart=/usr/bin/pacserve /run/pacserve/ --ipv6 --port 7078 --no-listing
+ExecStart=/usr/bin/pacserve /run/pacserve/ --ipv6 --port 7078 --no-listing --index empty
BindReadOnlyPaths=/var/cache/pacman/pkg:/run/pacserve/pkg /var/lib/pacman/sync:/run/pacserve/db
DynamicUser=on
ProtectSystem=full
diff --git a/systemd/tmpfiles.conf b/systemd/tmpfiles.conf
index f1da220..2e2be67 100644
--- a/systemd/tmpfiles.conf
+++ b/systemd/tmpfiles.conf
@@ -1,2 +1,4 @@
d /var/cache/pacman/pkg - - - -
d /var/lib/pacman/sync - - - -
+d /run/pacserve - - - -
+f /run/pacserve/empty - - - -