Restart avahi daemon
This commit is contained in:
parent
1f7be0efd8
commit
75b300a24b
|
@ -8196,6 +8196,8 @@ function tox_avahi {
|
|||
echo 'exit 0' >> /usr/bin/publish-to-avahi
|
||||
chmod +x /usr/bin/publish-to-avahi
|
||||
|
||||
systemctl restart avahi-daemon
|
||||
|
||||
# publish regularly
|
||||
if ! grep -Fxq "publish-to-avahi" /etc/crontab; then
|
||||
echo '* * * * * root /usr/bin/publish-to-avahi > /dev/null' >> /etc/crontab
|
||||
|
|
Loading…
Reference in New Issue