cleanup
This commit is contained in:
parent
3055020fc0
commit
2adf9a87f5
1 changed files with 29 additions and 40 deletions
57
README.md
57
README.md
|
|
@ -5,34 +5,36 @@ GPLv3 - see LICENSE for details
|
||||||
|
|
||||||
## Introduction
|
## Introduction
|
||||||
|
|
||||||
Petrified is a bash client to update dynamic DNS at freedns.afraid.org;
|
**Petrified** is a bash client to update dynamic DNS at freedns.afraid.org;
|
||||||
the goals are for simplicity, flexibility and configurability which using
|
the goals are for simplicity, flexibility and configurability which using
|
||||||
the minimal system tools installed with most distributions.
|
the minimal system tools installed with most distributions.
|
||||||
|
|
||||||
|
* Code: https://github.com/troyengel/petrified
|
||||||
|
* AUR: https://aur.archlinux.org/packages/petrified/
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
- Several configuration methods:
|
Several configuration methods:
|
||||||
|
|
||||||
* /etc/petrified.conf
|
* /etc/petrified.conf
|
||||||
* ~/.petrifiedrc
|
* ~/.petrifiedrc
|
||||||
* -c (config) on the commandline
|
* -c (config) on the commandline
|
||||||
- IPv4 and IPv6 support
|
|
||||||
- PID usage to prevent race conditions or stacked crons
|
High level items of interest:
|
||||||
- Logging via journald, syslog, stdout and a logfile simultaneously
|
|
||||||
- Local IP reporting for use with internal DNS entries
|
* IPv4 and IPv6 support
|
||||||
- Caching of the last IP to reduce upstream impact
|
* PID usage to prevent race conditions or stacked crons
|
||||||
- Usable via cron, NetworkManager dispatcher, commandline, etc.
|
* Logging via journald, syslog, stdout and a logfile simultaneously
|
||||||
|
* Local IP reporting for use with internal DNS entries
|
||||||
|
* Caching of the last IP to reduce upstream impact
|
||||||
|
* Usable via cron, NetworkManager dispatcher, commandline, etc.
|
||||||
|
|
||||||
## Dependencies
|
## Dependencies
|
||||||
|
|
||||||
| Utility | Package |
|
| Utilities | Package |
|
||||||
| --------|-------------|
|
| -----------------------------|------------|
|
||||||
| logger | util-linux |
|
| logger, kill | util-linux |
|
||||||
| kill | util-linux |
|
| printf, touch, date, cat, rm | coreutils |
|
||||||
| printf | coreutils |
|
|
||||||
| touch | coreutils |
|
|
||||||
| date | coreutils |
|
|
||||||
| cat | coreutils |
|
|
||||||
| rm | coreutils |
|
|
||||||
| bash | bash |
|
| bash | bash |
|
||||||
| ip | iproute2 |
|
| ip | iproute2 |
|
||||||
| curl | curl |
|
| curl | curl |
|
||||||
|
|
@ -42,7 +44,7 @@ the minimal system tools installed with most distributions.
|
||||||
|
|
||||||
Copy the default configuration file to */etc/petrified.conf* for global
|
Copy the default configuration file to */etc/petrified.conf* for global
|
||||||
use, *~/.petrifiedrc* for user-level use, or another location as desired.
|
use, *~/.petrifiedrc* for user-level use, or another location as desired.
|
||||||
At a minimum the **DDNS_KEY** variable must be configured for basic usage;
|
At a minimum the `DDNS_KEY` variable must be configured for basic usage;
|
||||||
all other variables are preconfigured for system level (root) usage.
|
all other variables are preconfigured for system level (root) usage.
|
||||||
|
|
||||||
If implementing at the user level, be sure and set the various file location
|
If implementing at the user level, be sure and set the various file location
|
||||||
|
|
@ -51,18 +53,14 @@ fully documented and should make sense.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Usage is simple - just run **petrified** and check your log(s).
|
Usage is simple - just run `petrified` and check your log(s).
|
||||||
|
|
||||||
To use a custom configuration file, the **-c (config)** parameter is
|
To use a custom configuration file, the `-c` (*config*) parameter is
|
||||||
supported; note that using this option will *not* read the global/local
|
supported; note that using this option will **not** read the global/local
|
||||||
configuration files and only use the variables from this custom file.
|
configuration files and only use the variables from this custom file.
|
||||||
|
|
||||||
## Acknowledgements
|
## Acknowledgements
|
||||||
|
|
||||||
### Author
|
|
||||||
|
|
||||||
Troy Engel <troyengel@gmail.com>
|
|
||||||
|
|
||||||
Prior to writing this software, several contributions were made to:
|
Prior to writing this software, several contributions were made to:
|
||||||
|
|
||||||
* afraid-dyndns
|
* afraid-dyndns
|
||||||
|
|
@ -71,15 +69,6 @@ Prior to writing this software, several contributions were made to:
|
||||||
The original version of petrified was influenced by these two software
|
The original version of petrified was influenced by these two software
|
||||||
package's concepts, however actual code was not used.
|
package's concepts, however actual code was not used.
|
||||||
|
|
||||||
### Contributors
|
|
||||||
|
|
||||||
none yet...
|
|
||||||
|
|
||||||
### Maintainers
|
|
||||||
|
|
||||||
Troy Engel <troyengel@gmail.com>
|
|
||||||
* Arch AUR package
|
|
||||||
|
|
||||||
## Support
|
## Support
|
||||||
|
|
||||||
If like this software, please consider upgrading to a Premium account to
|
If like this software, please consider upgrading to a Premium account to
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue