From 8778fe7335febdc71ac14b8e70e7c9291775f4d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 11 Nov 2023 23:14:52 +0100 Subject: [PATCH] fix --- conf/systemd.service | 2 +- scripts/install | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/systemd.service b/conf/systemd.service index 451f9c8..365f8c6 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -8,7 +8,7 @@ Type=simple User=__APP__ Group=__APP__ WorkingDirectory=__INSTALL_DIR__/ -ExecStart=__INSTALL_DIR__/gotify-linux-__ARCHITECTURE__ +ExecStart=__INSTALL_DIR__/gotify # Sandboxing options to harden security # Depending on specificities of your service/app, you may need to tweak these diff --git a/scripts/install b/scripts/install index dcf8772..df93d96 100755 --- a/scripts/install +++ b/scripts/install @@ -15,6 +15,7 @@ source /usr/share/yunohost/helpers ynh_script_progression --message="Setting up source files..." --weight=6 ynh_setup_source --dest_dir="$install_dir" +mv $install_dir/gotify-linux-* $install_dir/gotify chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir"