mirror of
https://github.com/YunoHost-Apps/pairdrop_ynh.git
synced 2024-09-03 19:56:16 +02:00
fix
This commit is contained in:
parent
705b4bd48c
commit
846a12c575
2 changed files with 8 additions and 0 deletions
|
@ -28,6 +28,12 @@ ynh_backup --src_path="/etc/$app"
|
|||
|
||||
ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||
|
||||
#=================================================
|
||||
# BACKUP LOGROTATE
|
||||
#=================================================
|
||||
|
||||
ynh_backup --src_path="/etc/logrotate.d/$app"
|
||||
|
||||
#=================================================
|
||||
# BACKUP SYSTEMD
|
||||
#=================================================
|
||||
|
|
|
@ -48,6 +48,8 @@ ynh_restore_file --origin_path="/etc/default/coturn-$app"
|
|||
ynh_restore_file --origin_path="/etc/systemd/system/coturn-$app.service"
|
||||
systemctl enable coturn-$app.service --quiet
|
||||
|
||||
ynh_restore_file --origin_path="/etc/logrotate.d/$app"
|
||||
|
||||
yunohost service add $app --description="Local file sharing in your browser" --log="/var/log/$app/$app.log"
|
||||
yunohost service add coturn-$app --description="Coturn TURN server" --log="/var/log/$app/turnserver.log" --needs_exposed_ports $turnserver_port
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue