1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/owncast_ynh.git synced 2024-09-03 19:56:20 +02:00
This commit is contained in:
ericgaspar 2021-09-27 21:27:33 +02:00
parent c23b26cbb6
commit 3cac4dde1c
No known key found for this signature in database
GPG key ID: 574F281483054D44
4 changed files with 1 additions and 22 deletions

View file

@ -7,7 +7,7 @@ Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__/
ExecStart=__FINALPATH__/owncast --enableVerboseLogging -webserverport __PORT__
ExecStart=__FINALPATH__/owncast --enableVerboseLogging -webserverport __PORT__ -streamkey __PASSWORD__
Restart=on-failure
RestartSec=5

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
@ -114,15 +110,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