Am 27.10.2015 um 19:42 schrieb Pacho Ramos:
El lun, 26-10-2015 a las 22:06 +0100, Reindl Harald escribió:

[...]
by the Also/Alias in the install section of proper units like the
Fedora
ones

[root@srv-rhsoft:~]$ cat /usr/lib/systemd/system/avahi-daemon.service
[Unit]
Description=Avahi mDNS/DNS-SD Stack
Requires=avahi-daemon.socket

[Service]
Type=dbus
BusName=org.freedesktop.Avahi
ExecStart=/usr/sbin/avahi-daemon -s
ExecReload=/usr/sbin/avahi-daemon -r
NotifyAccess=main

[Install]
WantedBy=multi-user.target
Also=avahi-daemon.socket
Alias=dbus-org.freedesktop.Avahi.service

Thanks a lot :)

With this solution, what will occur if a user forgets to enable avahi
always but I open gtk printing dialogs that will try to spawn avahi on
demand? Will they be launched then or should we tell people to enable
avahi-daemon always and have it running all the time? :/

normally only the socket should needed to be enabled while in case of avahi i am not sure if it works as expected

"avahi-browse -all" with only the socket enabled at least on fedora fails

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to