Update README.md
This commit is contained in:
parent
2fe596ec56
commit
8913024a57
22
README.md
22
README.md
|
@ -2,9 +2,29 @@ pubIp
|
||||||
=====
|
=====
|
||||||
|
|
||||||
Simple dynamic DNS resolver which works with
|
Simple dynamic DNS resolver which works with
|
||||||
[Tomato](http://www.polarcloud.com/tomato) and requires [Python
|
[Tomato](http://www.polarcloud.com/tomato) and requires only [Python
|
||||||
3](http://python.org).
|
3](http://python.org).
|
||||||
|
|
||||||
|
## Just run it.
|
||||||
|
|
||||||
|
```
|
||||||
|
$ /usr/bin/python3 pubip.py
|
||||||
|
```
|
||||||
|
|
||||||
|
## Supervisor config example
|
||||||
|
|
||||||
|
```
|
||||||
|
$ cat /etc/supervisor/conf.d/pubip.conf
|
||||||
|
|
||||||
|
[program:pubip]
|
||||||
|
command=/path/to/python3 pubip.py
|
||||||
|
directory=/YOUR_DIR/pubip
|
||||||
|
user=NOT_ROOT_FOR_PETES_SAKE
|
||||||
|
autostart=true
|
||||||
|
autorestart=true
|
||||||
|
redirect_stderr=true
|
||||||
|
```
|
||||||
|
|
||||||
## Setup in Tomato
|
## Setup in Tomato
|
||||||
|
|
||||||
0. In the left menu under `Basic -> DDNS` set "auto-refresh every" to e.g. 1 days.
|
0. In the left menu under `Basic -> DDNS` set "auto-refresh every" to e.g. 1 days.
|
||||||
|
|
Loading…
Reference in a new issue