From 611585d5ba8f86ade3485bee8a7b852aa02f695d Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 2 Nov 2020 19:11:47 +0100 Subject: [PATCH] Fix --- conf/systemd.service | 2 +- scripts/install | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/systemd.service b/conf/systemd.service index c73a61e..47d6b59 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -9,7 +9,7 @@ Group=__APP__ WorkingDirectory=__FINALPATH__ Environment="NODE_ENV=production" Environment="__YNH_NODE_LOAD_PATH__" -ExecStart=__FINALPATH__/node_modules/ep_etherpad-lite/node/server.js /var/log/__APP__/etherpad.log +ExecStart=__FINALPATH__/node_modules/ep_etherpad-lite/node/server.js Restart=always [Install] diff --git a/scripts/install b/scripts/install index 5795428..ced2f2d 100644 --- a/scripts/install +++ b/scripts/install @@ -183,7 +183,7 @@ yunohost service add $app --description "Etherpad-lite, the collaborative editor ynh_script_progression --message="Starting a systemd service..." --weight=1 # Start a systemd service -ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" --line_match="Your Etherpad version is" +ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Your Etherpad version is" #================================================= # SETUP SSOWAT