wrolpi/scripts/upgrade.sh

10 lines
240 B
Bash
Raw Normal View History

#! /usr/bin/env bash
# Upgrade the API and App.
/bin/bash /opt/wrolpi/scripts/build_api_and_app.sh
2023-05-01 13:00:23 -06:00
# Update nginx configs
cp /opt/wrolpi/nginx.conf /etc/nginx/nginx.conf
cp /opt/wrolpi/50x.html /var/www/50x.html
/usr/sbin/nginx -s reload