README: Fix code blocks

This commit is contained in:
2020-06-14 08:47:59 -05:00
parent 178173b628
commit 95df5f98cb

View File

@@ -30,28 +30,28 @@ The instructions below were tested on Ubuntu Linux 20.04 LTS.
1. Install `python3` and `pip`:
apt install python3
apt install python3
2. Install package dependencies:
pip install docopt
pip install docopt
3. Clone the repository somewhere:
cd /opt
git clone https://github.com/iSoron/hetzner-ddns.git
cd /opt
git clone https://github.com/iSoron/hetzner-ddns.git
4. Install the script system-wide:
cd hetzner-ddns
sudo make install
cd hetzner-ddns
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.
6. Run script and enable it during boot:
systemctl start hetzner-ddns
systemctl enable hetzner-ddns
sudo systemctl start hetzner-ddns
sudo systemctl enable hetzner-ddns
## License