version: v1.0.0 install.sh脚本用于自动将watch-daemon安装在/opt/watch-daemon/watch-daemon下 如存在旧版本文件需要重新命名 (以下操作均需通过root用户执行) 1. chmod +x *.sh给脚本可执行权限 2. 执行./install.sh安装watch-daemon 3. 进入/opt/watch-daemon/watch-daemon路径下,完成授权操作 4. 至此watch-daemon可作为watch-daemon服务运行 启动:systemctl start watch-daemon 停止:systemctl stop watch-daemon 重启: systemctl restart watch-daemon 查看状态:systemctl status watch-daemon 开机自启:systemctl enable watch-daemon