luolongfei há 3 anos atrás
pai
commit
2f0bb173c2
2 ficheiros alterados com 5 adições e 1 exclusões
  1. 4 0
      app.json
  2. 1 1
      docker-entrypoint.sh

+ 4 - 0
app.json

@@ -6,6 +6,10 @@
         "FREENOM_USERNAME": {
             "description": "你的 freenom 账户",
             "value": ""
+        },
+        "FREENOM_PASSWORD": {
+            "description": "你的 freenom 密码",
+            "value": ""
         }
     },
     "website": "https://github.com/luolongfei/freenom",

+ 1 - 1
docker-entrypoint.sh

@@ -54,6 +54,6 @@ echo -e "${CRON_COMMAND}" >> /etc/crontabs/root
 
 echo -e "[${green}Info${plain}] 计划任务:${CRON_COMMAND}"
 
-php run
+chmod +x run && php run
 
 exec "$@"