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