1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/rustdesk-server_ynh.git synced 2024-09-03 20:16:24 +02:00
This commit is contained in:
Éric Gaspar 2023-10-31 22:27:47 +01:00
parent 0824da1610
commit 459d1bd03e
3 changed files with 6 additions and 4 deletions

View file

@ -6,8 +6,8 @@ Type=simple
User=__APP__
Group=__APP__
LimitNOFILE=1000000
ExecStart=rustdesk-server/hbbr
WorkingDirectory=rustdesk-server/
ExecStart=__INSTALL_DIR__/hbbr
WorkingDirectory=__INSTALL_DIR__/
Restart=always
StandardOutput=append:rustdesk-server/hbbr.log
StandardError=append:rustdesk-server/hbbr.error

View file

@ -20,8 +20,8 @@ ynh_script_progression --message="Setting up source files..." --weight=1
ynh_setup_source --dest_dir="$install_dir"
chown -R $app:www-data "$install_dir"
#chmod +x "$install_dir/hbbr"
#chmod +x "$install_dir/hbbs"
chmod +x "$install_dir/hbbr"
chmod +x "$install_dir/hbbs"
#=================================================
# SYSTEM CONFIGURATION

View file

@ -33,6 +33,8 @@ then
fi
chown -R $app:www-data "$install_dir"
chmod +x "$install_dir/hbbr"
chmod +x "$install_dir/hbbs"
#=================================================
# REAPPLY SYSTEM CONFIGURATIONS