From a834db5dc933a4b48c8323ae3e490448a86b448f Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 4 Jul 2018 13:59:24 +0200 Subject: use private bind mounts for pacserve, remove pacdbserve We want just one service to serve database files and package archives. Private bind mounts make both available to pacserve. This alse removes some complexity in pacredir. --- config.def.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 00a4955..a11028b 100644 --- a/config.def.h +++ b/config.def.h @@ -22,14 +22,12 @@ #define PAGE404 "404 Not Found" \ "404 Not Found: %s" -/* the ports pacredir, pacserve and pacdbserve listen to */ +/* the ports pacredir and pacserve listen to */ #define PORT_PACREDIR 7077 #define PORT_PACSERVE 7078 -#define PORT_PACDBSERVE 7079 /* avahi service names */ -#define PACSERVE "_pacserve_" ID "._tcp" -#define PACDBSERVE "_pacdbserve_" ID "_" ARCH "._tcp" +#define PACSERVE "_pacserve_" ID "_" ARCH "._tcp" /* path to the config file */ #define CONFIGFILE "/etc/pacredir.conf" -- cgit v1.2.3-54-g00ecf