mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Force-disable old avahi-daemon
This commit is contained in:
parent
759b828c8a
commit
af3d6dd7df
1 changed files with 4 additions and 1 deletions
|
@ -44,7 +44,10 @@ do_post_regen() {
|
|||
|
||||
# Legacy stuff to enable the new yunomdns service on legacy systems
|
||||
if [[ -e /etc/avahi/avahi-daemon.conf ]] && grep -q 'yunohost' /etc/avahi/avahi-daemon.conf; then
|
||||
systemctl enable yunomdns
|
||||
systemctl disable avahi-daemon --now || true
|
||||
sleep 2
|
||||
systemctl enable yunomdns --now
|
||||
sleep 2
|
||||
fi
|
||||
|
||||
[[ -z "$regen_conf_files" ]] \
|
||||
|
|
Loading…
Add table
Reference in a new issue