update README.md

Brightcells 8 年之前
父節點
當前提交
9cf0f4306c
共有 1 個文件被更改,包括 12 次插入0 次删除
  1. 12 0
      README.md

+ 12 - 0
README.md

@@ -7,3 +7,15 @@ nohup python main.py &>minipai2.log &
7 7
 ```
8 8
 nohup python main.py --port=8002 &>minipai2.log &
9 9
 ```
10
+
11
+## Start Script
12
+* See ./startup.sh
13
+
14
+## Automatically Start
15
+* Crontab
16
+  * See http://askubuntu.com/questions/814/how-to-run-scripts-on-start-up
17
+  * Running ``crontab -e`` will allow you to edit your cron.
18
+  * Adding a line as below to it:
19
+    ```
20
+    @reboot /root/pai2/minipai2/startup.sh
21
+    ```