Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P1064
/opt/phabricator
Active
Public
Actions
Authored by
allan.laal
on Feb 12 2014, 1:04 AM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F111947: opt_phabricator
Feb 12 2014, 1:04 AM
2014-02-12 01:04:22 (UTC+0)
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
edited the content of this paste.
(Show Details)
Feb 12 2014, 1:04 AM
2014-02-12 01:04:22 (UTC+0)
allan.laal
changed the title of this paste from untitled to
/opt/phabricator
.
allan.laal
updated the paste's language from
autodetect
to
bash
.
Log In to Comment