1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mumbleserver_ynh.git synced 2024-09-03 19:46:03 +02:00
This commit is contained in:
ericgaspar 2021-06-04 23:50:27 +02:00
parent a1d15eb2f3
commit ad9982d644
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 6 additions and 6 deletions

View file

@ -143,11 +143,11 @@ fi
ynh_script_progression --message="Configuring a systemd service..." --weight=1
# Create a dedicated systemd config
ynh_add_systemd_config
ynh_add_systemd_config --service=mumble-server --template=systemd.service
if [ "$mumbleweb" -eq 1 ] ; then
ynh_replace_string --match_string="__ENV_PATH__" --replace_string="$PATH" --target_file="../conf/systemd.service"
ynh_add_systemd_config "$app-web" mumble-web.service
ynh_replace_string --match_string="__ENV_PATH__" --replace_string="$PATH" --target_file="../conf/mumble-web.service"
ynh_add_systemd_config --service=mumble-web --template=mumble-web.service
fi
#=================================================

View file

@ -178,11 +178,11 @@ ynh_add_config --template="../conf/mumble-server.ini" --destination="$final_path
ynh_script_progression --message="Upgrading systemd configuration..." --weight=2
# Create a dedicated systemd config
ynh_add_systemd_config
ynh_add_systemd_config --service=mumble-server --template=systemd.service
if [ "$mumbleweb" -eq 1 ] ; then
ynh_replace_string --match_string="__ENV_PATH__" --replace_string="$PATH" --target_file="../conf/systemd.service"
ynh_add_systemd_config "$app-web" mumble-web.service
ynh_replace_string --match_string="__ENV_PATH__" --replace_string="$PATH" --target_file="../conf/mumble-web.service"
ynh_add_systemd_config --service=mumble-web --template=mumble-web.service
fi
#=================================================