You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
372 B
Bash
20 lines
372 B
Bash
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 "./setup.sh" pdfy
|
|
|
|
echo "Done!"
|