this repo has no description
at main 278 B view raw
1#!/bin/sh 2 3VERSION=$1 4NOW=$(date +%s) 5HOME=/var/lib/supercell 6 7cp ${HOME}/production.env ${HOME}/backups/${NOW}-production.env 8 9sqlite3 ${HOME}/database.db ".backup '${HOME}/backups/${NOW}-database.db'" 10 11chown supercell:supercell ${HOME}/backups/* 12 13systemctl restart supercell 14