From 6000fad7bcc19a5c60131d5a292a63663df5fbc5 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Mon, 29 Jul 2019 00:04:57 +0200 Subject: [PATCH] Update install --- conf/systemd.service | 2 +- scripts/install | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/systemd.service b/conf/systemd.service index 614d91e..4f0cc2c 100755 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -1,5 +1,5 @@ [Unit] -Description=__APP__ social network +Description=__APP__ social network After=network.target postgresql.service nginx.service [Service] diff --git a/scripts/install b/scripts/install index aeee439..d5ab39e 100755 --- a/scripts/install +++ b/scripts/install @@ -231,7 +231,7 @@ pushd $final_path/$app #Generate key pair #sudo -u "$app" MIX_ENV=prod mix web_push.gen.keypair >> "config/prod.secret.exs" - su pleroma -s $SHELL -lc "PLEROMA_CONFIG_PATH=$config $final_path/$app/bin/pleroma_ctl gen keypair" >> "$config" + #su pleroma -s $SHELL -lc "PLEROMA_CONFIG_PATH=$config $final_path/$app/bin/pleroma_ctl gen keypair" >> "$config" #ynh_replace_string --match_string="administrator@example.com" --replace_string="$admin_email" --target_file="$config" popd @@ -272,7 +272,7 @@ yunohost service add $app --description "$app daemon for Pleroma" --log "/var/lo #================================================= ynh_print_info --message="Starting a systemd service..." -ynh_systemd_action --service_name=$app --action="restart" --log_path=systemd --line_match="Started pleroma social network" +ynh_systemd_action --service_name=$app --action="restart" --log_path=systemd --line_match="Started pleroma" #================================================= # SETUP SSOWAT