Update install

pull/3/head
abeudin 10 years ago
parent c53e73afd6
commit 6c05658c9a

@ -43,10 +43,6 @@ sudo cp ../conf/ffsync /etc/init.d/
sudo useradd ffsync -d $final_path sudo useradd ffsync -d $final_path
sudo chown ffsync:ffsync -R $final_path sudo chown ffsync:ffsync -R $final_path
# Copy uwsgi config
sudo cp ../conf/ffsync.ini /etc/uwsgi/apps-available/
sudo ln -s /etc/uwsgi/apps-available/ffsync.ini /etc/uwsgi/apps-enabled/
# Modify Nginx configuration file and copy it to Nginx conf directory # Modify Nginx configuration file and copy it to Nginx conf directory
secret=$(head -c 20 /dev/urandom | sha1sum | cut -d " " -f1) secret=$(head -c 20 /dev/urandom | sha1sum | cut -d " " -f1)
sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf
@ -80,8 +76,7 @@ sudo update-rc.d ffsync defaults
sudo service ffsync start sudo service ffsync start
# Reload Nginx and regenerate SSOwat conf # Reload Nginx and regenerate SSOwat conf
sudo service uwsgi restart
sudo service nginx reload sudo service nginx reload
sudo yunohost service add uwsgi -l /var/log/uwsgi/app/ffsync.log sudo yunohost service add firefox-sync -l /var/log/ffsync.log
sudo yunohost app setting ffsync skipped_uris -v "/" sudo yunohost app setting ffsync skipped_uris -v "/"
sudo yunohost app ssowatconf sudo yunohost app ssowatconf

Loading…
Cancel
Save