From 77e7ee26d79dea1fd5f0a9e310733213bd8178e9 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 27 Mar 2021 18:28:27 +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 07f73ec..00abe76 100755 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -9,7 +9,7 @@ Group=__APP__ WorkingDirectory=__FINALPATH__ Environment=PATH=__ENV_PATH__ Environment=NODE_ENV=production -ExecStart=__YNH_NODE__ mynewwiki --listen port=__PORT__ username=__ADMIN__ password=__PASSWORD__ +ExecStart=__YNH_NODE__ tiddlywiki mynewwiki --listen port=__PORT__ username=__ADMIN__ password=__PASSWORD__ Restart=always [Install] diff --git a/scripts/install b/scripts/install index 39cde56..7193cec 100755 --- a/scripts/install +++ b/scripts/install @@ -125,7 +125,7 @@ ynh_add_systemd_config #================================================= # Set permissions to app files -chown -R $app: $final_path +chown -R $app:$app $final_path #================================================= # ADVERTISE SERVICE IN ADMIN PANEL