Added backup and deploy scripts

This commit is contained in:
Nathan Anderson
2023-07-27 12:53:13 -06:00
parent fb955625bc
commit 563b9023dc
2 changed files with 34 additions and 0 deletions
Executable
+17
View File
@@ -0,0 +1,17 @@
#!/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