summarylogtreecommitdiffstats
path: root/pkgdistcache-client
diff options
context:
space:
mode:
authorEric Anderson2018-03-01 07:46:10 -0800
committerEric Anderson2018-03-01 07:46:10 -0800
commit98d647cb6a1101df86f23c45808771be0165dfd2 (patch)
tree1998b29a76d3ee11cf7df37359ea61aa030abc2a /pkgdistcache-client
parent52c5480cb8a7f1f00980549af57b4607cfabbe74 (diff)
downloadaur-98d647cb6a1101df86f23c45808771be0165dfd2.tar.gz
Add service dep on avahi-daemon
When dbus activation is working the After=avahi-daemon should not be necessary. However, it appears that dbus activation is only correctly configured when avahi-daemon is enabled as that's when the appropriate symlink is created. It would fail with: Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service not found. While Requires=avahi-daemon needs to be present for the same reason as After=, pkgdistcache-daemon does not currently notice if avahi-daemon is restarted. When Avahi restarts it forgets the previous publishes. So I work around that by having pkgdistcached restart when avahi-daemon restarts via Requires=. While I could make pkgdistcache-daemon notice the restart, it doesn't gain us anything because of the dbus activation issue.
Diffstat (limited to 'pkgdistcache-client')
0 files changed, 0 insertions, 0 deletions