rluv-zerver/deploy.sh
2023-07-30 22:47:12 -06:00

20 lines
238 B
Bash
Executable File

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