diff options
author | Christian Hesse <mail@eworm.de> | 2017-05-13 12:30:08 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2017-05-13 12:30:08 +0200 |
commit | cdbb05bf6a2864077f905cb96353e83f5b2b9ea8 (patch) | |
tree | 101768ce520c1c44f69e956f31b255d38f89cd5a /avahi/pacserve.service.in | |
parent | 8667fb8d747569f83c48bb14f3410af652cd7b15 (diff) | |
download | pacredir-cdbb05bf6a2864077f905cb96353e83f5b2b9ea8.tar.gz pacredir-cdbb05bf6a2864077f905cb96353e83f5b2b9ea8.tar.zst |
add distribution ID to avahi service names
Now that we have pacredir in official repositories... ArchLinux ARM will
have the package as well, having package names (at least for 'any') clash.
So add distribution ID to avahi service names.
This is incompatible with pacredir < 0.2.3, so make sure to update all
your installations.
Diffstat (limited to 'avahi/pacserve.service.in')
-rw-r--r-- | avahi/pacserve.service.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/avahi/pacserve.service.in b/avahi/pacserve.service.in new file mode 100644 index 0000000..2da20f7 --- /dev/null +++ b/avahi/pacserve.service.in @@ -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>_pacserve_%ID%._tcp</type> + <port>7078</port> + </service> + +</service-group> |