浏览代码

Restart avahi daemon

Bob Mottram 9 年前
父节点
当前提交
75b300a24b
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      src/freedombone

+ 2
- 0
src/freedombone 查看文件

@@ -8196,6 +8196,8 @@ function tox_avahi {
8196 8196
   echo 'exit 0' >> /usr/bin/publish-to-avahi
8197 8197
   chmod +x /usr/bin/publish-to-avahi
8198 8198
 
8199
+  systemctl restart avahi-daemon
8200
+
8199 8201
   # publish regularly
8200 8202
   if ! grep -Fxq "publish-to-avahi" /etc/crontab; then
8201 8203
       echo '* *       * * *   root    /usr/bin/publish-to-avahi > /dev/null' >> /etc/crontab