rluv-zerver/deploy.sh
2023-07-27 12:53:13 -06:00

18 lines
210 B
Bash
Executable File

#!/bin/bash
echo 'Creating backup of database file...'
./data_backup.sh
echo 'Rebuilding server...'
git pull
zig build
echo 'Restarting systemd...'
sudo systemctl restart zerver
systemctl status zerver