README: Fix code blocks
This commit is contained in:
16
README.md
16
README.md
@@ -30,28 +30,28 @@ The instructions below were tested on Ubuntu Linux 20.04 LTS.
|
|||||||
|
|
||||||
1. Install `python3` and `pip`:
|
1. Install `python3` and `pip`:
|
||||||
|
|
||||||
apt install python3
|
apt install python3
|
||||||
|
|
||||||
2. Install package dependencies:
|
2. Install package dependencies:
|
||||||
|
|
||||||
pip install docopt
|
pip install docopt
|
||||||
|
|
||||||
3. Clone the repository somewhere:
|
3. Clone the repository somewhere:
|
||||||
|
|
||||||
cd /opt
|
cd /opt
|
||||||
git clone https://github.com/iSoron/hetzner-ddns.git
|
git clone https://github.com/iSoron/hetzner-ddns.git
|
||||||
|
|
||||||
4. Install the script system-wide:
|
4. Install the script system-wide:
|
||||||
|
|
||||||
cd hetzner-ddns
|
cd hetzner-ddns
|
||||||
sudo make install
|
sudo make install
|
||||||
|
|
||||||
5. Create a configuration file in `/etc/hetzner-ddns.conf` with you API token. See `/etc/hetzner-ddns.conf.example` for an example.
|
5. Create a configuration file in `/etc/hetzner-ddns.conf` with you API token. See `/etc/hetzner-ddns.conf.example` for an example.
|
||||||
|
|
||||||
6. Run script and enable it during boot:
|
6. Run script and enable it during boot:
|
||||||
|
|
||||||
systemctl start hetzner-ddns
|
sudo systemctl start hetzner-ddns
|
||||||
systemctl enable hetzner-ddns
|
sudo systemctl enable hetzner-ddns
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user