1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/peertube_ynh.git synced 2024-09-03 19:56:29 +02:00
This commit is contained in:
Éric Gaspar 2023-06-21 19:21:58 +02:00
parent 05f1b9a09b
commit 412f3a1d44
2 changed files with 3 additions and 2 deletions

View file

@ -2,7 +2,7 @@ __APP__ was successfully removed :)
The domain https://__DOMAIN____PATH__ is free for other apps to be installed on it. The domain https://__DOMAIN____PATH__ is free for other apps to be installed on it.
You should close the PeerTube Live TCP port __RTMP_PORT__ available from internet (For example, closing the port on your ISP box if it's not automatically done). You should close the PeerTube Live TCP port __PORT_RTMP__ available from internet (For example, closing the port on your ISP box if it's not automatically done).
But a futher action is required from your side to completely remove the __APP__ data folder. If you have backup and plan to restore this app in the future DON'T RUN THIS COMMAND. But a futher action is required from your side to completely remove the __APP__ data folder. If you have backup and plan to restore this app in the future DON'T RUN THIS COMMAND.
And if you are going to migrate to othe server you will have to move __DATA_DIR__ to your new server. And if you are going to migrate to othe server you will have to move __DATA_DIR__ to your new server.

View file

@ -16,7 +16,8 @@ source /usr/share/yunohost/helpers
admin_mail=$(ynh_user_get_info --username=$admin --key="mail") admin_mail=$(ynh_user_get_info --username=$admin --key="mail")
admin_pass=$(ynh_string_random --length=24) admin_pass=$(ynh_string_random --length=24)
secrets_peertube=$(ynh_string_random --length=24) secrets_peertube=$(ynh_string_random --length=24)
db_name="peertube_$app" db_name="peertube_${app}"
db_user=$(ynh_sanitize_dbid --db_name=$app)
#================================================= #=================================================
# STORE SETTINGS FROM MANIFEST # STORE SETTINGS FROM MANIFEST