From 0a9df5b3adb3bac611a36fd38666974667df5e30 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Tue, 15 Mar 2022 03:29:42 +0100 Subject: [PATCH] debug attemp --- scripts/restore | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/restore b/scripts/restore index 775238d..35bfec0 100755 --- a/scripts/restore +++ b/scripts/restore @@ -132,6 +132,13 @@ ynh_psql_execute_file_as_root --file="./db.sql" --database="$db_name" # RESTORE VARIOUS FILES #================================================= +mkdir -p /var/log/$app + +# for debugging purpose, will remove +# systemd[7948]: gotosocial.service: Failed to set up standard output: No such file or directory +# systemd[7948]: gotosocial.service: Failed at step STDOUT spawning /var/www/gotosocial/gotosocial: No such file or directory +ls -l $final_path + #================================================= # RESTORE SYSTEMD #=================================================