Skip to content

Commit 40990e8

Browse files
committed
Update README.md
1 parent 0f75164 commit 40990e8

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

README.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,24 @@
1-
# ovh-dynhost-updater
1+
# ovh-dynhost-updater
2+
3+
A tool to automatically update an OVH DynHost record with your public IP address.
4+
5+
It can be run as a long running process (daemon) or as a regular cronjob task.
6+
7+
## Usage
8+
9+
### Options
10+
11+
The tool accepts the following command-line options:
12+
13+
| Name | Description | Default value |
14+
| --------- | ----------------------------------------------------------------------------- | ------------- |
15+
| -daemon | Run the program as a daemon. | `false` |
16+
| -delay | If the program is run as a daemon, number of minutes to wait between updates. | `10` |
17+
| -hostname | Hostname of the DynHost record to update. | |
18+
19+
The tool reads the following environment variables:
20+
21+
| Name | Description | Default value |
22+
| -------- | --------------------------------------------------------------------------------- | ------------- |
23+
| LOGIN | DynHost login. The tool will exit if this environment variable is not defined. | |
24+
| PASSWORD | DynHost password. The tool will exit if this environment variable is not defined. | |

0 commit comments

Comments
 (0)