summarylogtreecommitdiffstats
path: root/nextcloud-systemd-timers.install
diff options
context:
space:
mode:
authorDominik Schrempf2020-05-26 09:47:57 +0200
committerDominik Schrempf2020-05-26 09:47:57 +0200
commit8fefd6cde60020386f2122675702fdf3ef9c0a99 (patch)
tree96288cab02e15e8db43fae19527545a94d23bc8f /nextcloud-systemd-timers.install
parent525d00618e820f8c35b902917c40ee75373ef94b (diff)
downloadaur-8fefd6cde60020386f2122675702fdf3ef9c0a99.tar.gz
add app update; bump version to 0.6.3
Diffstat (limited to 'nextcloud-systemd-timers.install')
-rw-r--r--nextcloud-systemd-timers.install16
1 files changed, 10 insertions, 6 deletions
diff --git a/nextcloud-systemd-timers.install b/nextcloud-systemd-timers.install
index 43469e0cfe60..144cebdd4b15 100644
--- a/nextcloud-systemd-timers.install
+++ b/nextcloud-systemd-timers.install
@@ -1,7 +1,3 @@
-# This is a default template for a post-install scriptlet.
-# Uncomment only required functions and remove any functions
-# you don't need (and this header).
-
## arg 1: the new package version
#pre_install() {
# do something here
@@ -9,7 +5,6 @@
## arg 1: the new package version
post_install() {
- # do something here
echo "In order to complete installation, manual steps are necessary."
echo "The timers can be activated individually and according to your needs."
echo "--"
@@ -21,6 +16,8 @@ post_install() {
echo '$ systemctl enable TIMER'
echo "--"
echo "Available timers."
+ echo "- nextcloud-app-update-all.timer"
+ echo " Periodic (daily and after boot) update of all applications."
echo "- nextcloud-cron.timer"
echo " Periodic (every 15 min) execution of cron.php."
echo "- nextcloud-files-scan-all.timer"
@@ -28,7 +25,7 @@ post_install() {
echo "- nextcloud-preview-generate-all.timer"
echo " Activate periodic (weekly and after boot) preview generation of ALL files."
echo "- nextcloud-preview-pre-generate.timer"
- echo " Activate periodic (after boot and every 15 min)preview generation of NEW files."
+ echo " Activate periodic (every 15 min and after boot) preview generation of NEW files."
echo "--"
echo "Check status and activation of timers."
echo '$ systemctl list-timers'
@@ -44,6 +41,13 @@ pre_upgrade() {
echo "/etc/systemd/system to /usr/lib/systemd/system."
echo "Please ensure that your timers work after the upgrade."
echo
+ elif [[ "$1" == "0.6.3-1" ]]
+ then
+ echo
+ echo "A new timer was added:"
+ echo "- nextcloud-app-update-all.timer"
+ echo " Periodic (daily) update all applications."
+ echo
fi
}