diff options
author | Christian Hesse <mail@eworm.de> | 2013-10-27 18:59:16 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2013-10-27 18:59:16 +0100 |
commit | 7ff32c0f2913e5d5371732f4a7a5a281a547ac2f (patch) | |
tree | d59d2ae6ba8e528f28eaa21d44b8a424451e7c7c | |
parent | 259155baae3365b963d3522b813111f9a70b5810 (diff) | |
download | paccache-7ff32c0f2913e5d5371732f4a7a5a281a547ac2f.tar.gz paccache-7ff32c0f2913e5d5371732f4a7a5a281a547ac2f.tar.zst |
add files for pacdbserve (serve pacman db files)
-rw-r--r-- | avahi/pacdbserve.service | 15 | ||||
-rw-r--r-- | systemd/pacdbserve.service | 9 |
2 files changed, 24 insertions, 0 deletions
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 @@ +<?xml version="1.0" standalone='no'?><!--*-nxml-*--> +<!DOCTYPE service-group SYSTEM "avahi-service.dtd"> + +<!-- See avahi.service(5) for more information about this configuration file --> + +<service-group> + + <name replace-wildcards="yes">%h</name> + + <service> + <type>_pacdbserve._tcp</type> + <port>7079</port> + </service> + +</service-group> 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 |