mirror of
https://github.com/YunoHost-Apps/freshrss_ynh.git
synced 2024-09-03 18:36:33 +02:00
Replace PHP version in cron
This commit is contained in:
parent
b598fbc984
commit
81f623543d
2 changed files with 2 additions and 0 deletions
|
@ -127,6 +127,7 @@ cron_path="/etc/cron.d/$app"
|
|||
|
||||
ynh_replace_string --match_string="__FINALPATH__" --replace_string=$final_path --target_file="../conf/freshrss.cron"
|
||||
ynh_replace_string --match_string="__APP__" --replace_string=$app --target_file="../conf/freshrss.cron"
|
||||
ynh_replace_string --match_string="__PHPVERSION__" --replace_string=$phpversion --target_file="../conf/freshrss.cron"
|
||||
|
||||
cp ../conf/freshrss.cron "$cron_path"
|
||||
chmod 644 "$cron_path"
|
||||
|
|
|
@ -148,6 +148,7 @@ cron_path="/etc/cron.d/$app"
|
|||
|
||||
ynh_replace_string --match_string="__FINALPATH__" --replace_string=$final_path --target_file="../conf/freshrss.cron"
|
||||
ynh_replace_string --match_string="__APP__" --replace_string=$app --target_file="../conf/freshrss.cron"
|
||||
ynh_replace_string --match_string="__PHPVERSION__" --replace_string=$phpversion --target_file="../conf/freshrss.cron"
|
||||
|
||||
cp ../conf/freshrss.cron "$cron_path"
|
||||
chmod 644 "$cron_path"
|
||||
|
|
Loading…
Add table
Reference in a new issue