diff --git a/conf/systemd.service b/conf/systemd.service index e419287..a10e078 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -10,7 +10,7 @@ WorkingDirectory=__INSTALL_DIR__/ Environment=ETHERPAD_PRODUCTION=true Environment="NODE_ENV=production" Environment="__YNH_NODE_LOAD_PATH__" -ExecStart=__INSTALL_DIR__/src/bin/run.sh +ExecStart=__INSTALL_DIR__/bin/run.sh Restart=always # Sandboxing options to harden security diff --git a/scripts/install b/scripts/install index ea12af5..d961750 100644 --- a/scripts/install +++ b/scripts/install @@ -84,7 +84,7 @@ ynh_script_progression --message="Installing $app..." --weight=10 pushd $install_dir ynh_use_nodejs - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true src/bin/installDeps.sh + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true bin/installDeps.sh popd #=================================================