mirror of
https://github.com/YunoHost-Apps/coturn_ynh.git
synced 2024-09-03 18:16:32 +02:00
fix
This commit is contained in:
parent
f65860e5e6
commit
b5ebb58ba1
2 changed files with 2 additions and 2 deletions
|
@ -1,3 +1,3 @@
|
||||||
# Check if the IP as not changed at every 15th minute
|
# Check if the IP as not changed at every 15th minute
|
||||||
# */15 * * * * root bash /__SCRIPT_PATH__/Coturn_config_rotate.sh;
|
# */15 * * * * root bash /__SCRIPT_PATH__/Coturn_config_rotate.sh;
|
||||||
*/15 * * * * __USER__ bash /__SCRIPT_PATH__/Coturn_config_rotate.sh;
|
*/15 * * * * __USER__ bash /__DATA_PATH__/Coturn_config_rotate.sh;
|
|
@ -176,7 +176,7 @@ chmod +x $data_path/Coturn_config_rotate.sh
|
||||||
|
|
||||||
cp -f ../conf/cron_coturn /etc/cron.d/$app
|
cp -f ../conf/cron_coturn /etc/cron.d/$app
|
||||||
ynh_replace_string --match_string="__USER__" --replace_string=turnserver --target_file=/etc/cron.d/$app
|
ynh_replace_string --match_string="__USER__" --replace_string=turnserver --target_file=/etc/cron.d/$app
|
||||||
ynh_replace_string --match_string="__SCRIPT_PATH__" --replace_string=$script_path --target_file=/etc/cron.d/$app
|
ynh_replace_string --match_string="__DATA_PATH__" --replace_string=$data_path --target_file=/etc/cron.d/$app
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP LOGROTATE
|
# SETUP LOGROTATE
|
||||||
|
|
Loading…
Add table
Reference in a new issue