mirror of
https://github.com/YunoHost-Apps/gotify_ynh.git
synced 2024-09-03 20:36:26 +02:00
fix
This commit is contained in:
parent
004a00d21a
commit
8778fe7335
2 changed files with 2 additions and 1 deletions
|
@ -8,7 +8,7 @@ Type=simple
|
||||||
User=__APP__
|
User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
WorkingDirectory=__INSTALL_DIR__/
|
WorkingDirectory=__INSTALL_DIR__/
|
||||||
ExecStart=__INSTALL_DIR__/gotify-linux-__ARCHITECTURE__
|
ExecStart=__INSTALL_DIR__/gotify
|
||||||
|
|
||||||
# Sandboxing options to harden security
|
# Sandboxing options to harden security
|
||||||
# Depending on specificities of your service/app, you may need to tweak these
|
# Depending on specificities of your service/app, you may need to tweak these
|
||||||
|
|
|
@ -15,6 +15,7 @@ source /usr/share/yunohost/helpers
|
||||||
ynh_script_progression --message="Setting up source files..." --weight=6
|
ynh_script_progression --message="Setting up source files..." --weight=6
|
||||||
|
|
||||||
ynh_setup_source --dest_dir="$install_dir"
|
ynh_setup_source --dest_dir="$install_dir"
|
||||||
|
mv $install_dir/gotify-linux-* $install_dir/gotify
|
||||||
|
|
||||||
chmod -R o-rwx "$install_dir"
|
chmod -R o-rwx "$install_dir"
|
||||||
chown -R $app:www-data "$install_dir"
|
chown -R $app:www-data "$install_dir"
|
||||||
|
|
Loading…
Add table
Reference in a new issue