# Automated phabricator setup. Not currently using it,
-# but it works.
+# but it worked last time I tried it.
set -eE -o pipefail
trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?"' ERR
# phabricator complained about wanting arcanist first
pi arcanist/unstable mercurial
-for x in /a/bin/bash_unpublished/*; do source $x; done
-
# duplicated in mediawiki setup. todo fix that.
s DEBIAN_FRONTEND=noninteractive pi mysql-server
cd # mysql_secure_installation writes some temp files to the current dir,
acme-tiny-wrapper $alt_domain
for x in $domain $alt_domain; do
- apache-site -r $webroot - $x <<EOF
+ web-conf -r $webroot - $x <<EOF
RewriteEngine on
RewriteRule ^/rsrc/(.*) - [L,QSA]
RewriteRule ^/favicon.ico - [L,QSA]
# arcanist(), phabricator(), phutil()
s usermod -a -G vcs www-data
-s usermod -a -G vcs ian
+s usermod -a -G vcs iank
s usermod -a -G vcs phabricator
s chown root:vcs /usr/share/phabricator/conf/local/local.json
fbin config set diffusion.ssh-port $ssh_port