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.
16 lines
240 B
Bash
16 lines
240 B
Bash
9 years ago
|
set -e
|
||
|
|
||
|
useradd pdfy
|
||
|
cd /home/pdfy
|
||
|
|
||
|
apt-get install -y authbind
|
||
|
npm install -g coffee-script forever
|
||
|
|
||
|
touch /etc/authbind/byport/80
|
||
|
chown pdfy /etc/authbind/byport/80
|
||
|
chmod 755 /etc/authbind/byport/80
|
||
|
|
||
|
su -c "./setup.sh" pdfy
|
||
|
|
||
|
echo "Done!"
|