summaryrefslogtreecommitdiffstats
path: root/systemd/pacserve.service
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-10-25 23:48:38 +0200
committerGravatar Christian Hesse <mail@eworm.de>2013-10-25 23:48:38 +0200
commitcfe74022706ded43da15264606cc58e62caa8452 (patch)
tree06dc1635e1942f2dd104927e7eaa916f74323e2f /systemd/pacserve.service
parent2add64f0904e151ca9e160cd8a880945bfd0c940 (diff)
downloadpaccache-cfe74022706ded43da15264606cc58e62caa8452.tar.gz
paccache-cfe74022706ded43da15264606cc58e62caa8452.tar.zst
initial commit
Diffstat (limited to 'systemd/pacserve.service')
-rw-r--r--systemd/pacserve.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/systemd/pacserve.service b/systemd/pacserve.service
new file mode 100644
index 0000000..76bdc77
--- /dev/null
+++ b/systemd/pacserve.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Darkhttpd to serve pacman cache
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/darkhttpd /var/cache/pacman/pkg/ --port 7078
+
+[Install]
+WantedBy=multi-user.target