Skip to content

Commit

Permalink
cleanup and improve readme, use su instead of sudo, because of sudo d…
Browse files Browse the repository at this point in the history
…on't work in not terminal
  • Loading branch information
yuki-kimoto committed Aug 23, 2013
1 parent ef73027 commit f6ba0ab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 76 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ then create a run script.

mkdir -p /webapp
echo '#!/bin/sh' > /webapp/gitprep
echo 'sudo -u gitprep /home/gitprep/gitprep/gitprep $*' >> /webapp/gitprep
echo 'su - gitprep -c "/home/gitprep/gitprep/gitprep $*"' >> /webapp/gitprep
chmod 755 /webapp/gitprep

You can start and stop the application with the following command.
Expand Down
75 changes: 0 additions & 75 deletions xt/need_login_always.t

This file was deleted.

0 comments on commit f6ba0ab

Please sign in to comment.