Update services/documentation/zensical.md
This commit is contained in:
@@ -105,6 +105,7 @@ sudo useradd --system --home /srv/zensical --shell /usr/sbin/nologin zensical ||
|
||||
sudo chown -R zensical:zensical /srv/zensical
|
||||
sudo find /srv/zensical -type d -exec chmod 2775 {} \;
|
||||
sudo find /srv/zensical -type f -exec chmod 664 {} \; # This step likes to take a while, sometimes up to a minute.
|
||||
sudo chmod 755 /srv/zensical/.venv/bin/* # Ensure Python Environment Executables Function
|
||||
```
|
||||
|
||||
```sh
|
||||
@@ -139,20 +140,19 @@ EOF
|
||||
|
||||
# Start & Enable Automatic Startup of Service
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl enable --now zensical-watchdog.service
|
||||
sudo systemctl enable --now zensical-watchdog
|
||||
```
|
||||
### Updating
|
||||
You will obviously want to keep Zensical up-to-date. You can run the following commands to upgrade it. This is taken and simplified from the original [Upgrade Documentation](https://zensical.org/docs/upgrade/) on Zensical's website.
|
||||
|
||||
```sh
|
||||
# Upgrade Zensical
|
||||
systemctl stop zensical-watchdog
|
||||
cd /srv/zensical
|
||||
source .venv/bin/activate
|
||||
pip install --upgrade --force-reinstall zensical
|
||||
deactivate
|
||||
|
||||
# Make Zensical Binary Executable for Service
|
||||
sudo chmod +x /srv/zensical/.venv/bin/zensical
|
||||
systemctl start zensical-watchdog
|
||||
```
|
||||
|
||||
## NGINX Webserver
|
||||
|
||||
Reference in New Issue
Block a user