From 430715c7925c4345bc57dadf284fd508c1e9d6d0 Mon Sep 17 00:00:00 2001 From: Arsen Mirzaev Tatyano-Muradovich Date: Thu, 10 Apr 2025 21:14:24 +0700 Subject: [PATCH] the systemd section improved --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 886f3a5..9383fbc 100755 --- a/README.md +++ b/README.md @@ -181,8 +181,11 @@ Edit the file `/etc/nginx/mime.types`
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`

-**Execute:** `sudo cp huesos.service /etc/systemd/system/huesos.service && sudo chmod +x /etc/systemd/system/huesos.service`

+You can copy an example of systemd file from here: `/examples/systemd/huesos.service`
+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`
+ *before you execute the command think about **what it does** and whether the **paths** are specified correctly*
*the configuration file is very simple and you can remake it for any alternative to SystemD that you like*