1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/rustdesk-server_ynh.git synced 2024-09-03 20:16:24 +02:00

Update restore

This commit is contained in:
Éric Gaspar 2023-11-01 14:10:00 +01:00
parent 460f81db9d
commit c38bf4355c

View file

@ -36,13 +36,11 @@ mkdir -p /var/log/$app
touch /var/log/$app/$app.log touch /var/log/$app/$app.log
chown $app -R /var/log/$app chown $app -R /var/log/$app
ynh_restore_file --origin_path="/etc/systemd/system/$rustdeskrelay.service" ynh_restore_file --origin_path="/etc/systemd/system/rustdeskrelay.service"
systemctl enable $rustdeskrelay.service --quiet systemctl enable rustdeskrelay.service --quiet
ynh_restore_file --origin_path="/etc/systemd/system/$ --description="Rustdesk Signal Server" --log="/var/log/$app/$app.log" ynh_restore_file --origin_path="/etc/systemd/system/rustdesksignal.service"
.service" systemctl enable rustdesksignal.service --quiet
systemctl enable $ --description="Rustdesk Signal Server" --log="/var/log/$app/$app.log"
.service --quiet
ynh_restore_file --origin_path="/etc/logrotate.d/$app" ynh_restore_file --origin_path="/etc/logrotate.d/$app"