1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/owncast_ynh.git synced 2024-09-03 19:56:20 +02:00

Remove password

This commit is contained in:
ericgaspar 2021-09-27 19:08:08 +02:00
parent c23b26cbb6
commit cd59cb0553
No known key found for this signature in database
GPG key ID: 574F281483054D44
6 changed files with 1 additions and 32 deletions

View file

@ -3,7 +3,6 @@
domain="domain.tld"
path="/path"
is_public=1
password="1StrongPassword"
; Checks
pkg_linter=1
setup_sub_dir=0

View file

@ -1,6 +1,6 @@
## Configuration
Settings are accessible in admin page: `domain.ltd/admin` with `admin` and `your_stream_key` as credential.
You can configure Owncast by editing the configuration file `/var/www/owncast/config.yaml` using the [documentation](https://owncast.online/docs/), or with the admin page: `domain.ltd/admin` with `admin` and `abc123` as credential.
## Streaming app

View file

@ -45,14 +45,6 @@
"fr": "Si cette case est cochée, Owncast sera accessible aux personnes nayant pas de compte. Vous pourrez changer ceci plus tard via la webadmin."
},
"default": true
},
{
"name": "password",
"type": "password",
"help": {
"en": "This is the password for connecting to the admin page as well as the Stream Key. (Only alphanumeric characters are accepted)",
"fr": "Ceci est le mot de passe pour se connecter à la page d'administration ainsi que la Stream Key. (Seuls les caractères alphanumériques sont acceptés)"
}
}
]
}

View file

@ -14,10 +14,6 @@ source /usr/share/yunohost/helpers
# MANAGE SCRIPT FAILURE
#=================================================
ynh_clean_setup () {
### Remove this function if there's nothing to clean before calling the remove script.
true
}
# Exit if an error occurs during the execution of the script
ynh_abort_if_errors

View file

@ -13,10 +13,6 @@ source /usr/share/yunohost/helpers
# MANAGE SCRIPT FAILURE
#=================================================
ynh_clean_setup () {
### Remove this function if there's nothing to clean before calling the remove script.
true
}
# Exit if an error occurs during the execution of the script
ynh_abort_if_errors
@ -27,7 +23,6 @@ ynh_abort_if_errors
domain=$YNH_APP_ARG_DOMAIN
path_url="/"
is_public=$YNH_APP_ARG_IS_PUBLIC
password=$YNH_APP_ARG_PASSWORD
architecture=$(ynh_detect_arch)
app=$YNH_APP_INSTANCE_NAME
@ -114,15 +109,6 @@ ynh_script_progression --message="Configuring a systemd service..." --weight=1
# Create a dedicated systemd config
ynh_add_systemd_config
#=================================================
# SETUP APPLICATION PASSWORD
#=================================================
ynh_script_progression --message="Configuring a Stream Key..." --weight=1
pushd $final_path
ynh_exec_as $app $final_path/owncast -streamkey $password
popd
#=================================================
# GENERIC FINALIZATION
#=================================================

View file

@ -14,10 +14,6 @@ source /usr/share/yunohost/helpers
# MANAGE SCRIPT FAILURE
#=================================================
ynh_clean_setup () {
#### Remove this function if there's nothing to clean before calling the remove script.
true
}
# Exit if an error occurs during the execution of the script
ynh_abort_if_errors