the systemd section improved

This commit is contained in:
Arsen Mirzaev Tatyano-Muradovich 2025-04-10 21:14:24 +07:00
parent ec03c8218c
commit 430715c792

View File

@ -181,8 +181,11 @@ Edit the file `/etc/nginx/mime.types`<br>
3.5. `sudo certbot certonly --nginx`
### SystemD (or any alternative you like)
You can copy an example of systemd file from here: `/examples/systemd/huesos.service`<br><br>
**Execute:** `sudo cp huesos.service /etc/systemd/system/huesos.service && sudo chmod +x /etc/systemd/system/huesos.service`<br><br>
You can copy an example of systemd file from here: `/examples/systemd/huesos.service`<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>
*the configuration file is very simple and you can remake it for any alternative to SystemD that you like*