mirror of
https://github.com/YunoHost-Apps/rustdesk-server_ynh.git
synced 2024-09-03 20:16:24 +02:00
fix
This commit is contained in:
parent
0824da1610
commit
459d1bd03e
3 changed files with 6 additions and 4 deletions
|
@ -6,8 +6,8 @@ Type=simple
|
||||||
User=__APP__
|
User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
LimitNOFILE=1000000
|
LimitNOFILE=1000000
|
||||||
ExecStart=rustdesk-server/hbbr
|
ExecStart=__INSTALL_DIR__/hbbr
|
||||||
WorkingDirectory=rustdesk-server/
|
WorkingDirectory=__INSTALL_DIR__/
|
||||||
Restart=always
|
Restart=always
|
||||||
StandardOutput=append:rustdesk-server/hbbr.log
|
StandardOutput=append:rustdesk-server/hbbr.log
|
||||||
StandardError=append:rustdesk-server/hbbr.error
|
StandardError=append:rustdesk-server/hbbr.error
|
||||||
|
|
|
@ -20,8 +20,8 @@ ynh_script_progression --message="Setting up source files..." --weight=1
|
||||||
ynh_setup_source --dest_dir="$install_dir"
|
ynh_setup_source --dest_dir="$install_dir"
|
||||||
|
|
||||||
chown -R $app:www-data "$install_dir"
|
chown -R $app:www-data "$install_dir"
|
||||||
#chmod +x "$install_dir/hbbr"
|
chmod +x "$install_dir/hbbr"
|
||||||
#chmod +x "$install_dir/hbbs"
|
chmod +x "$install_dir/hbbs"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SYSTEM CONFIGURATION
|
# SYSTEM CONFIGURATION
|
||||||
|
|
|
@ -33,6 +33,8 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chown -R $app:www-data "$install_dir"
|
chown -R $app:www-data "$install_dir"
|
||||||
|
chmod +x "$install_dir/hbbr"
|
||||||
|
chmod +x "$install_dir/hbbs"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# REAPPLY SYSTEM CONFIGURATIONS
|
# REAPPLY SYSTEM CONFIGURATIONS
|
||||||
|
|
Loading…
Add table
Reference in a new issue