1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/coturn_ynh.git synced 2024-09-03 18:16:32 +02:00
This commit is contained in:
Éric Gaspar 2023-12-26 18:12:55 +01:00
parent 7b65f207dd
commit b693a2801f
3 changed files with 5 additions and 2 deletions

View file

@ -34,6 +34,7 @@ ynh_backup --src_path="$data_dir"
#=================================================
ynh_backup --src_path="/var/log/$app"
ynh_backup --src_path="/etc/cron.d/$app"
#=================================================

View file

@ -42,8 +42,9 @@ adduser turnserver ssl-cert
ynh_script_progression --message="Configuring a systemd service..." --weight=1
mkdir -p /var/log/$app
# Create systemd service for turnserver
cp ../conf/default.coturn /etc/default/coturn
ynh_add_config --template="default.coturn" --destination="/etc/default/coturn"
# Create a dedicated systemd config
ynh_add_systemd_config

View file

@ -38,8 +38,9 @@ adduser turnserver ssl-cert
ynh_script_progression --message="Configuring a systemd service..." --weight=1
mkdir -p /var/log/$app
# Create systemd service for turnserver
cp ../conf/default.coturn /etc/default/coturn
ynh_add_config --template="default.coturn" --destination="/etc/default/coturn"
# Create a dedicated systemd config
ynh_add_systemd_config