the systemd section improved
This commit is contained in:
parent
ec03c8218c
commit
430715c792
|
@ -181,8 +181,11 @@ Edit the file `/etc/nginx/mime.types`<br>
|
||||||
3.5. `sudo certbot certonly --nginx`
|
3.5. `sudo certbot certonly --nginx`
|
||||||
|
|
||||||
### SystemD (or any alternative you like)
|
### SystemD (or any alternative you like)
|
||||||
You can copy an example of systemd file from here: `/examples/systemd/huesos.service`<br><br>
|
You can copy an example of systemd file from here: `/examples/systemd/huesos.service`<br>
|
||||||
**Execute:** `sudo cp huesos.service /etc/systemd/system/huesos.service && sudo chmod +x /etc/systemd/system/huesos.service`<br><br>
|
1. `sudo cp huesos.service /etc/systemd/system/huesos.service && sudo chmod +x /etc/systemd/system/huesos.service`
|
||||||
|
2. `sudo systemctl daemon-reload`
|
||||||
|
3. `sudo systemctl enable huesos`<br>
|
||||||
|
|
||||||
*before you execute the command think about **what it does** and whether the **paths** are specified correctly*<br>
|
*before you execute the command think about **what it does** and whether the **paths** are specified correctly*<br>
|
||||||
*the configuration file is very simple and you can remake it for any alternative to SystemD that you like*
|
*the configuration file is very simple and you can remake it for any alternative to SystemD that you like*
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue