1
0
Fork 0
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:
ericgaspar 2020-10-17 12:02:04 +02:00
parent 67537f5290
commit 1c9efb6d10
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -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

View file

@ -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