diff --git a/services/documentation/zensical.md b/services/documentation/zensical.md index da8ba5a..c46316d 100644 --- a/services/documentation/zensical.md +++ b/services/documentation/zensical.md @@ -111,6 +111,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 @@ -145,7 +146,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 +systemctl start zensical-watchdog ``` ## NGINX Webserver @@ -327,5 +340,4 @@ http: servers: - url: http://192.168.3.8:80 passHostHeader: true -``` - +``` \ No newline at end of file