diff --git a/scripts/start.sh b/scripts/start.sh index 85de4556..997b5fc2 100755 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -12,4 +12,4 @@ USER=$(whoami) HOME=$(grep "^$USER:" /etc/passwd | cut -d: -f6) export USER HOME PATH -cd "$(pwd)" && exec ./gogs web +cd "$(dirname "$0")/.." && exec ./gogs web