From 4a7b47a1e4d3c627fe24c888c85187675a94ac91 Mon Sep 17 00:00:00 2001 From: Antonio de la Rosa Date: Sun, 28 Jun 2020 22:51:04 +0200 Subject: [PATCH] Fix in readme.md --- README.md | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index a3da19b..4e88d2b 100644 --- a/README.md +++ b/README.md @@ -10,24 +10,21 @@ You can install PastafariStats with its command. If your linux distro use systemd, you can initialize the script with this systemd unit -`# Save it in /etc/systemd/system/pastafariweb.service +`# Save it in /etc/systemd/system/pastafaristats.service [Unit] -Description=Pokermind site +Description=Pastafari Stats After=syslog.target After=network.target -After=mysqld.service [Service] Type=simple -User=coesinfo -Group=coesinfo -WorkingDirectory=/home/coesinfo/sites/pokermind -# ExecStart=/usr/bin/python3 index.py -# ExecStart=/usr/local/bin/gunicorn -w5 --reload -b 127.0.0.1:8080 --timeout 300 --error-logfile /home/coesinfo/sites/pokermind/error.log index:app -ExecStart=/home/coesinfo/virtualenv/bin/gunicorn -w3 -b 127.0.0.1:8080 --timeout 300 --error-logfile /home/coesinfo/sites/pokermind/error.log --reload index:app +User=pzoo +Group=pzoo +WorkingDirectory=/home/pzoo +ExecStart=pastafaristats Restart=always -Environment=USER=coesinfo HOME=/home/coesinfo +Environment=USER=pzoo HOME=/home/pzoo [Install] WantedBy=multi-user.target`