summaryrefslogtreecommitdiffstats
path: root/systemd
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-10-27 18:59:16 +0100
committerGravatar Christian Hesse <mail@eworm.de>2013-10-27 18:59:16 +0100
commit7ff32c0f2913e5d5371732f4a7a5a281a547ac2f (patch)
treed59d2ae6ba8e528f28eaa21d44b8a424451e7c7c /systemd
parent259155baae3365b963d3522b813111f9a70b5810 (diff)
downloadpaccache-7ff32c0f2913e5d5371732f4a7a5a281a547ac2f.tar.gz
paccache-7ff32c0f2913e5d5371732f4a7a5a281a547ac2f.tar.zst
add files for pacdbserve (serve pacman db files)
Diffstat (limited to 'systemd')
-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