diff --git a/scripts/upgrade b/scripts/upgrade index ff1c74c..55552f2 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -8,6 +8,9 @@ final_path=$(sudo yunohost app setting diaspora final_path) sudo service diaspora_ynh stop sleep 3 +sudo cp ../conf/diaspora_ynh /etc/init.d/diaspora_ynh +sudo chmod 754 /etc/init.d/diaspora_ynh + sudo su - diaspora -c "rvm get stable" sudo su - diaspora -c "git checkout Gemfile.lock db/schema.rb ; git pull" sudo su - diaspora -c "bundle"