d2551161d2
fixed bug where passed arguments need to be saved for reuse further in script
5 lines
192 B
Bash
Executable file
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 "$@"
|