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