gitea/scripts/restart

7 lines
144 B
Bash
Executable File

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