gitea/scripts/restart

7 lines
144 B
Plaintext
Raw Normal View History

#!/bin/bash
# $1 ini file, $2 arch
echo 'restarting gitea after change'
DIR=$(dirname "$(readlink -f "$0")") || exit
$DIR/stop
$DIR/start $1 $2