summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Schrempf2018-11-28 10:27:08 +0100
committerDominik Schrempf2018-11-28 10:27:08 +0100
commit17fb72ea9c4e087138d762707fc3e85258041084 (patch)
tree08c926b0dec9c3b2329729ce71c9e2a4be2a63ef
parentb03e249923569fe28e279c457cc4268b8300482e (diff)
downloadaur-17fb72ea9c4e087138d762707fc3e85258041084.tar.gz
Update post-install information.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--nextcloud-systemd-timers.install21
3 files changed, 16 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3f99794cfcc..e64b2c4018d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = nextcloud-systemd-timers
pkgdesc = Systemd services and timers for Nextcloud background jobs (see Nextcloud Arch Wiki entry).
pkgver = 0.4
- pkgrel = 1
+ pkgrel = 2
install = nextcloud-systemd-timers.install
arch = any
license = GPL
diff --git a/PKGBUILD b/PKGBUILD
index cdb0ada8c49..639b6ec68b5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Dominik Schrempf <dominik.schrempf@gmail.com>
pkgname=nextcloud-systemd-timers
pkgver=0.4
-pkgrel=1
+pkgrel=2
epoch=
pkgdesc="Systemd services and timers for Nextcloud background jobs (see Nextcloud Arch Wiki entry)."
arch=('any')
diff --git a/nextcloud-systemd-timers.install b/nextcloud-systemd-timers.install
index 3650ae45389..cd45b0db2ed 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