summarylogtreecommitdiffstats
path: root/nextcloud-systemd-timers.install
diff options
context:
space:
mode:
authorDominik Schrempf2018-11-28 10:27:08 +0100
committerDominik Schrempf2018-11-28 10:27:08 +0100
commit17fb72ea9c4e087138d762707fc3e85258041084 (patch)
tree08c926b0dec9c3b2329729ce71c9e2a4be2a63ef /nextcloud-systemd-timers.install
parentb03e249923569fe28e279c457cc4268b8300482e (diff)
downloadaur-17fb72ea9c4e087138d762707fc3e85258041084.tar.gz
Update post-install information.
Diffstat (limited to 'nextcloud-systemd-timers.install')
-rw-r--r--nextcloud-systemd-timers.install21
1 files changed, 14 insertions, 7 deletions
diff --git a/nextcloud-systemd-timers.install b/nextcloud-systemd-timers.install
index 3650ae45389f..cd45b0db2ed6 100644
--- a/nextcloud-systemd-timers.install
+++ b/nextcloud-systemd-timers.install
@@ -9,13 +9,20 @@
## arg 1: the new package version
post_install() {
- # do something here
- echo "Activate the timer with"
- echo '$ systemctl daemon-reload'
- echo '$ systemctl start nextcloudcron.timer'
- echo '$ systemctl enable nextcloudcron.timer'
- echo 'Check if timer is activated with'
- echo '$ systemctl list-timers'
+ # do something here
+ echo 'Reload systemd daemon.'
+ echo '$ systemctl daemon-reload'
+ echo "Activate Cron timer with"
+ echo '$ systemctl start nextcloud-cron.timer'
+ echo '$ systemctl enable nextcloud-cron.timer'
+ echo "Activate periodic file scans with"
+ echo '$ systemctl start nextcloud-filescan.timer'
+ echo '$ systemctl enable nextcloud-filescan.timer'
+ echo "Activate periodic preview generation with"
+ echo '$ systemctl start nextcloud-preview.timer'
+ echo '$ systemctl enable nextcloud-preview.timer'
+ echo 'Check if wanted timers are activated with'
+ echo '$ systemctl list-timers'
}
## arg 1: the new package version