aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/pacdbserve.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/pacdbserve.service')
-rw-r--r--systemd/pacdbserve.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/systemd/pacdbserve.service b/systemd/pacdbserve.service
new file mode 100644
index 0000000..c599af0
--- /dev/null
+++ b/systemd/pacdbserve.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Darkhttpd to serve pacman db files
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/darkhttpd /var/lib/pacman/sync/ --port 7079
+
+[Install]
+WantedBy=multi-user.target