Enabling Python optimization when running in Docker and systemd.

This commit is contained in:
Roland 2023-05-23 16:31:10 -06:00
parent e471325bb6
commit ccb28db95c
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
3 changed files with 6 additions and 2 deletions

View file

@ -7,3 +7,7 @@
cp /opt/wrolpi/nginx.conf /etc/nginx/nginx.conf
cp /opt/wrolpi/50x.html /var/www/50x.html
/usr/sbin/nginx -s reload
# Update systemd files.
cp /opt/wrolpi/etc/raspberrypios/wrolpi-api.service /etc/systemd/system/
/usr/bin/systemctl daemon-reload