From cfe74022706ded43da15264606cc58e62caa8452 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 25 Oct 2013 23:48:38 +0200 Subject: initial commit --- systemd/pacredir.service | 9 +++++++++ systemd/pacserve.service | 9 +++++++++ 2 files changed, 18 insertions(+) create mode 100644 systemd/pacredir.service create mode 100644 systemd/pacserve.service (limited to 'systemd') diff --git a/systemd/pacredir.service b/systemd/pacredir.service new file mode 100644 index 0000000..fb4feba --- /dev/null +++ b/systemd/pacredir.service @@ -0,0 +1,9 @@ +[Unit] +Description=Darkhttpd to serve pacman cache +After=avahi-daemon.service + +[Service] +ExecStart=/usr/bin/pacredir + +[Install] +WantedBy=multi-user.target 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 -- cgit v1.2.3-70-g09d2