README: Fix code blocks

master
Alinson S. Xavier 5 years ago
parent 178173b628
commit 95df5f98cb

@ -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

Loading…
Cancel
Save