diff options
author | codeskyblue <codeskyblue@gmail.com> | 2014-07-15 10:20:05 +0800 |
---|---|---|
committer | codeskyblue <codeskyblue@gmail.com> | 2014-07-15 10:20:05 +0800 |
commit | 9a3e1790a1a9d7b8b172ec6bfa3d9f579a86477a (patch) | |
tree | c21f19f2d1a39da245873ea63b6c436466684d3f | |
parent | 3969d704a014c54e55281cd9b30e622acbd447c4 (diff) | |
download | gitea-9a3e1790a1a9d7b8b172ec6bfa3d9f579a86477a.tar.gz gitea-9a3e1790a1a9d7b8b172ec6bfa3d9f579a86477a.zip |
update start.sh in order to compatible with supervisor
-rwxr-xr-x | start.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8,8 +8,8 @@ IFS=' ' PATH=/bin:/usr/bin:/usr/local/bin -HOME=${HOME:?"need \$HOME variable"} USER=$(whoami) +HOME=$(grep "^$USER:" /etc/passwd | cut -d: -f6) export USER HOME PATH cd "$(dirname $0)" && exec ./gogs web |