Automatically migrated from Gitolite
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
372 B

set -e
cd /home/pdfy/pdfy2
apt-get install -y authbind graphicsmagick
npm install -g coffee-script forever
touch /etc/authbind/byport/80
chown pdfy /etc/authbind/byport/80
chmod 755 /etc/authbind/byport/80
touch /etc/authbind/byport/443
chown pdfy /etc/authbind/byport/443
chmod 755 /etc/authbind/byport/443
chown -R pdfy:pdfy .
su -c "./" pdfy
echo "Done!"