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:
parent
460f81db9d
commit
c38bf4355c
1 changed files with 4 additions and 6 deletions
|
@ -36,13 +36,11 @@ mkdir -p /var/log/$app
|
|||
touch /var/log/$app/$app.log
|
||||
chown $app -R /var/log/$app
|
||||
|
||||
ynh_restore_file --origin_path="/etc/systemd/system/$rustdeskrelay.service"
|
||||
systemctl enable $rustdeskrelay.service --quiet
|
||||
ynh_restore_file --origin_path="/etc/systemd/system/rustdeskrelay.service"
|
||||
systemctl enable rustdeskrelay.service --quiet
|
||||
|
||||
ynh_restore_file --origin_path="/etc/systemd/system/$ --description="Rustdesk Signal Server" --log="/var/log/$app/$app.log"
|
||||
.service"
|
||||
systemctl enable $ --description="Rustdesk Signal Server" --log="/var/log/$app/$app.log"
|
||||
.service --quiet
|
||||
ynh_restore_file --origin_path="/etc/systemd/system/rustdesksignal.service"
|
||||
systemctl enable rustdesksignal.service --quiet
|
||||
|
||||
ynh_restore_file --origin_path="/etc/logrotate.d/$app"
|
||||
|
||||
|
|
Loading…
Reference in a new issue