summaryrefslogtreecommitdiffstats
path: root/systemd/pacserve.service
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2022-03-29 11:16:53 +0200
committerGravatar Christian Hesse <mail@eworm.de>2022-03-29 11:28:29 +0200
commit324ebdf91bbd5dd642cc7db1ddbb63c29ed3f3a5 (patch)
tree8bc9d9bb6b1162d70f03a0ebb4b5b1984de461c6 /systemd/pacserve.service
parent2055076187f2635039ba5acb18430f1f54885142 (diff)
downloadpacredir-324ebdf91bbd5dd642cc7db1ddbb63c29ed3f3a5.tar.gz
pacredir-324ebdf91bbd5dd642cc7db1ddbb63c29ed3f3a5.tar.zst
pacserve: use empty file for index
This makes monitoring happy... 😊
Diffstat (limited to 'systemd/pacserve.service')
-rw-r--r--systemd/pacserve.service2
1 files changed, 1 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