website hosted
This commit is contained in:
10
start-website.sh
Executable file
10
start-website.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
cd /root/homewebsite
|
||||
|
||||
# Build the site
|
||||
npm run build
|
||||
|
||||
# Restart the service
|
||||
systemctl restart juchatz-web.service
|
||||
|
||||
echo "Website rebuilt and restarted at $(date)" >> /var/log/website-startup.log
|
||||
Reference in New Issue
Block a user