forked from cohabit/server_config
12 lines
219 B
Bash
12 lines
219 B
Bash
|
# Pull website sources
|
||
|
cd /srv/www
|
||
|
git pull origin main
|
||
|
|
||
|
# Setup website service
|
||
|
cp /srv/www/website.service /etc/systemd/system
|
||
|
|
||
|
# Start website
|
||
|
systemctl deamon-reload
|
||
|
systemctl enable website
|
||
|
systemctl start website
|