diff --git a/update.sh b/update.sh index ecaf015..276c959 100755 --- a/update.sh +++ b/update.sh @@ -20,6 +20,7 @@ ssh $host "rm ~/webp/main_old" # 设为系统服务 # sudo cp webp.service /etc/systemd/system/webp.service +# sudo systemctl enable webp # 设置日志轮转 # sudo cp webp.logrotate /etc/logrotate.d/webp