aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2020-05-26 13:22:20 +0200
committeryalh76 <yalh@yahoo.com>2020-05-26 13:22:20 +0200
commitd3ea53c200fd20a61acb4bb1a5dce5aa6ab77752 (patch)
tree6cb40847128c21b5d588851d8935f1c070ed6a8c /scripts
parentf2051e67a3a7ee03254677434a35209beff2225b (diff)
downloadmastodon_ynh-d3ea53c200fd20a61acb4bb1a5dce5aa6ab77752.tar.gz
mastodon_ynh-d3ea53c200fd20a61acb4bb1a5dce5aa6ab77752.tar.bz2
mastodon_ynh-d3ea53c200fd20a61acb4bb1a5dce5aa6ab77752.zip
removing not needed cron job description
Diffstat (limited to 'scripts')
-rw-r--r--scripts/install4
-rw-r--r--scripts/restore2
-rw-r--r--scripts/upgrade2
3 files changed, 4 insertions, 4 deletions
diff --git a/scripts/install b/scripts/install
index 8c63cde..c78419e 100644
--- a/scripts/install
+++ b/scripts/install
@@ -219,9 +219,9 @@ ynh_app_setting_set --app="$app" --key=vapid_public_key --value="$vapid_public_k
ynh_secure_remove --file="$final_path/live/key.txt"
#=================================================
-# SETUP CRON JOB FOR REMOVING CACHE
+# SETUP CRON JOB
#=================================================
-ynh_script_progression --message="Setuping a cron job for removing cache..." --weight=1
+ynh_script_progression --message="Setuping a cron job..." --weight=1
ynh_replace_string --match_string="__FINAL_PATH__" --replace_string="$final_path" --target_file="../conf/cron"
cp -f ../conf/cron /etc/cron.d/$app
diff --git a/scripts/restore b/scripts/restore
index ae64eaf..f41b2a8 100644
--- a/scripts/restore
+++ b/scripts/restore
@@ -158,7 +158,7 @@ ynh_systemd_action --service_name=${app}-streaming --action="start" --log_path=s
#=================================================
# RESTORE THE CRON FILE
#=================================================
-ynh_script_progression --message="Restoring a cron job for removing cache..." --weight=2
+ynh_script_progression --message="Restoring a cron job..." --weight=2
ynh_restore_file --origin_path="/etc/cron.d/$app"
diff --git a/scripts/upgrade b/scripts/upgrade
index fd58f16..eff42b3 100644
--- a/scripts/upgrade
+++ b/scripts/upgrade
@@ -302,7 +302,7 @@ ynh_store_file_checksum --file="$config"
#=================================================
# SETUP CRON JOB FOR REMOVING CACHE
#=================================================
-ynh_script_progression --message="Setuping a cron job for removing cache..." --weight=1
+ynh_script_progression --message="Setuping a cron job..." --weight=1
ynh_replace_string --match_string="__FINAL_PATH__" --replace_string="$final_path" --target_file="../conf/cron"
cp -f ../conf/cron /etc/cron.d/$app