Page MenuHomePhabricator
Paste P1064

/opt/phabricator
ActivePublic

Authored by allan.laal on Feb 12 2014, 1:04 AM.
Tags
None
Referenced Files
F111947: opt_phabricator
Feb 12 2014, 1:04 AM
Subscribers
None
root@gn61:/opt/phabricator# dir -1
arcanist
kaustas
libphutil
phabricator
phabricator-ssh-hook.sh
updater.on.phabricator.scripts.install
root@gn61:/opt/phabricator# cat phabricator-ssh-hook.sh
#!/bin/sh
# NOTE: Replace this with the username that you expect users to connect with.
VCSUSER="repo-hg"
# NOTE: Replace this with the path to your Phabricator directory.
ROOT="/opt/phabricator/phabricator"
if [ "$1" != "$VCSUSER" ];
then
exit 1
fi
exec "$ROOT/bin/ssh-auth" $@
root@gn61:/opt/phabricator#

Event Timeline

allan.laal changed the title of this paste from untitled to /opt/phabricator.
allan.laal updated the paste's language from autodetect to bash.