From d282681e92f364e1fb54db94e865151a0502f1da Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 27 Mar 2021 22:22:01 +0100 Subject: [PATCH] Fix --- conf/systemd.service | 2 -- scripts/upgrade | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/conf/systemd.service b/conf/systemd.service index cdbf918..61a84f6 100755 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -10,8 +10,6 @@ WorkingDirectory=__FINALPATH__ Environment=PATH=__ENV_PATH__ Environment=NODE_ENV=production ExecStart=__YNH_NODE__ tiddlywiki mynewwiki --listen port=__PORT__ username=__ADMIN__ password=__PASSWORD__ -StandardOutput=append:/var/log/__APP__/__APP__.log -StandardError=inherit Restart=always [Install] diff --git a/scripts/upgrade b/scripts/upgrade index 0acb274..641a225 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -139,7 +139,7 @@ yunohost service add $app --description="A non-linear personal web notebook" --l #================================================= ynh_script_progression --message="Starting a systemd service..." --weight=1 -ynh_systemd_action --service_name=$app --action=restart --log_path="/var/log/$app/$app.log" --line_match="Serving on" +ynh_systemd_action --service_name=$app --action=restart --log_path="systemd" #--line_match="Serving on" #================================================= # RELOAD NGINX