From 7ff32c0f2913e5d5371732f4a7a5a281a547ac2f Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Sun, 27 Oct 2013 18:59:16 +0100 Subject: add files for pacdbserve (serve pacman db files) --- avahi/pacdbserve.service | 15 +++++++++++++++ systemd/pacdbserve.service | 9 +++++++++ 2 files changed, 24 insertions(+) create mode 100644 avahi/pacdbserve.service create mode 100644 systemd/pacdbserve.service diff --git a/avahi/pacdbserve.service b/avahi/pacdbserve.service new file mode 100644 index 0000000..38c8211 --- /dev/null +++ b/avahi/pacdbserve.service @@ -0,0 +1,15 @@ + + + + + + + + %h + + + _pacdbserve._tcp + 7079 + + + 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 -- cgit v1.2.3-70-g09d2