10% circumnavigate the earth
[distro-setup] / phabricator-setup
index 25bbab7b22236f45dec14f07e4f4bec78883b785..ebd93606f752f8d688990d7d126bf7699f185cb5 100755 (executable)
@@ -16,7 +16,7 @@
 
 
 # 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
@@ -50,8 +50,6 @@ fsetd() { fbin config set --database "$@"; }
 # 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,
@@ -89,7 +87,7 @@ acme-tiny-wrapper $domain
 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]
@@ -304,7 +302,7 @@ sudo systemctl daemon-reload
 # 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