gitea/scripts/restart
David Kebler d2551161d2 watch script working now for realtime edits of UI and config
fixed bug where passed arguments  need to be saved for reuse further in script
2020-12-13 17:16:53 -08:00

5 lines
192 B
Bash
Executable file

#!/bin/bash
echo 'restarting gitea'
[[ ! $GITEA_DIR ]] && export GITEA_DIR=$(dirname $(cd $(dirname $(readlink -f $BASH_SOURCE));pwd -P))
$GITEA_DIR/scripts/stop
$GITEA_DIR/scripts/start "$@"