mirror of
https://github.com/YunoHost-Apps/kanboard_ynh.git
synced 2024-09-03 19:36:17 +02:00
Replace __APP__ variable
This commit is contained in:
parent
67537f5290
commit
1c9efb6d10
3 changed files with 3 additions and 1 deletions
|
@ -1,2 +1,2 @@
|
|||
# Execute the daily cronjob at 8am
|
||||
0 8 * * * __APP__ cd "__FINALPATH__" && PHP__YNH_PHP_VERSION__ ./cli cronjob >/dev/null 2>&1
|
||||
0 8 * * * __APP__ cd "__FINALPATH__" && PHP__PHPVERSION__ ./cli cronjob >/dev/null 2>&1
|
|
@ -151,6 +151,7 @@ ynh_script_progression --message="Setuping a cron..."
|
|||
|
||||
cp ../conf/cron_kanboard /etc/cron.d/$app
|
||||
ynh_replace_string --match_string="__FINALPATH__" --replace_string="$final_path/" --target_file="/etc/cron.d/$app"
|
||||
ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="/etc/cron.d/$app"
|
||||
|
||||
#=================================================
|
||||
# SETUP SSOWAT
|
||||
|
|
|
@ -178,6 +178,7 @@ ynh_script_progression --message="Setuping a cron..."
|
|||
|
||||
cp ../conf/cron_kanboard /etc/cron.d/$app
|
||||
ynh_replace_string --match_string="__FINALPATH__" --replace_string="$final_path/" --target_file="/etc/cron.d/$app"
|
||||
ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="/etc/cron.d/$app"
|
||||
|
||||
#=================================================
|
||||
# SETUP SSOWAT
|
||||
|
|
Loading…
Add table
Reference in a new issue