1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/etherpad_ynh.git synced 2024-09-03 18:36:10 +02:00

Update install

This commit is contained in:
abeudin 2014-01-10 15:14:59 +01:00
parent 296cfefa54
commit cd5126c6b2

View file

@ -32,6 +32,12 @@ final_path=/var/www/etherpadlite
sudo mkdir -p $final_path
sudo cp -a ../sources/* $final_path
sudo cp ../conf/settings.json $final_path
sudo cp ../conf/etherpad-lite /etc/init.d/
sudo chmod +x /etc/init.d/etherpad-lite
sudo update-rc.d etherpad-lite defaults
sudo mkdir /var/log/etherpad-lite/
su - www -c "touch /var/log/etherpad-lite/etherpad-lite.log"
sudo $final_path/bin/installDeps.sh > /dev/null 2>&1
sudo npm install forever -g > /dev/null 2>&1