From 171c063d3af847e5f939e756ff22aa348dce5ee5 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 8 Aug 2020 18:54:27 +0200 Subject: [PATCH] fix --- conf/systemd.service | 3 --- scripts/install | 9 ++++++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/conf/systemd.service b/conf/systemd.service index bc069b7..a9e5e42 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -13,6 +13,3 @@ SyslogIdentifier=__APP__ PIDFile=/run/movim.pid Restart=on-failure RestartSec=10 - -[Install] -WantedBy=multi-user.target diff --git a/scripts/install b/scripts/install index e28333d..cc2b88e 100644 --- a/scripts/install +++ b/scripts/install @@ -152,11 +152,18 @@ ynh_store_file_checksum --file="$final_path/config/db.inc.php" # #sudo -u www-data php composer.phar $app:migrate # popd || ynh_die +# ( +# cd "$final_path" +# export COMPOSER_HOME=$final_path +# curl -sS https://getcomposer.org/installer | php -- --install-dir="$final_path" \ +# && php composer.phar config --global discard-changes true --quiet \ +# && php composer.phar install --no-interaction --quiet +# ) + ( cd "$final_path" export COMPOSER_HOME=$final_path curl -sS https://getcomposer.org/installer | php -- --install-dir="$final_path" \ - && php composer.phar config --global discard-changes true --quiet \ && php composer.phar install --no-interaction --quiet )