mirror of
https://github.com/YunoHost-Apps/coturn_ynh.git
synced 2024-09-03 18:16:32 +02:00
cleaning
This commit is contained in:
parent
7b65f207dd
commit
b693a2801f
3 changed files with 5 additions and 2 deletions
|
@ -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"
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue