1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gotify_ynh.git synced 2024-09-03 20:36:26 +02:00
This commit is contained in:
Éric Gaspar 2023-11-11 23:14:52 +01:00
parent 004a00d21a
commit 8778fe7335
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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"