summarylogtreecommitdiffstats
path: root/nextcloud-systemd-timers.install
diff options
context:
space:
mode:
authorDominik Schrempf2018-12-02 11:29:32 +0100
committerDominik Schrempf2018-12-02 11:29:32 +0100
commitc91db4445235ddfa452d3f094bf698626d7db169 (patch)
tree0d07617b7c6aa6d2921cd664d6998b711e172241 /nextcloud-systemd-timers.install
parent17fb72ea9c4e087138d762707fc3e85258041084 (diff)
downloadaur-c91db4445235ddfa452d3f094bf698626d7db169.tar.gz
Improve file naming, documentation; add preview:generate-all.
Diffstat (limited to 'nextcloud-systemd-timers.install')
-rw-r--r--nextcloud-systemd-timers.install31
1 files changed, 20 insertions, 11 deletions
diff --git a/nextcloud-systemd-timers.install b/nextcloud-systemd-timers.install
index cd45b0db2ed..9d8f258afae 100644
--- a/nextcloud-systemd-timers.install
+++ b/nextcloud-systemd-timers.install
@@ -10,18 +10,27 @@
## arg 1: the new package version
post_install() {
# do something here
- echo 'Reload systemd daemon.'
+ echo "In order to complete installation, manual steps are necessary."
+ echo "The timers can be activated individually and according to your needs."
+ echo "--"
+ 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 "--"
+ echo "Activate timer TIMER."
+ echo '$ systemctl start TIMER'
+ echo '$ systemctl enable TIMER'
+ echo "--"
+ echo "Available timers."
+ echo "- nextcloud-cron.timer"
+ echo " Periodic execution of cron.php."
+ echo "- nextcloud-files-scan-all.timer"
+ echo " Activate periodic scans of ALL files."
+ echo "- nextcloud-preview-generate-all.timer"
+ echo " Activate periodic preview generation of ALL files."
+ echo "- nextcloud-preview-pre-generate.timer"
+ echo " Activate periodic preview generation of NEW files."
+ echo "--"
+ echo "Check status and activation of timers."
echo '$ systemctl list-timers'
}