rluv-zerver/deploy.sh

20 lines
238 B
Bash
Raw Normal View History

2023-07-27 12:53:13 -06:00
#!/bin/bash
echo 'Creating backup of database file...'
./data_backup.sh
echo 'Rebuilding server...'
2023-07-30 22:47:12 -06:00
sudo systemctl stop zerver
2023-07-27 12:53:13 -06:00
git pull
zig build
echo 'Restarting systemd...'
sudo systemctl restart zerver
systemctl status zerver