aboutsummarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Brooks2021-03-11 20:36:19 +0000
committerBen Brooks2021-03-11 20:36:19 +0000
commite9aa6a7af05d25ea135eae32ad97d65a56f7480d (patch)
tree5dbce9616c0b9e309a20c32ff237bbee1added1b
parent9f25683b94b74bab22d11841c71753c82dea85ca (diff)
downloadaur-e9aa6a7af05d25ea135eae32ad97d65a56f7480d.tar.gz
Add post_install usage message
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD4
-rw-r--r--sync_gateway.install31
3 files changed, 36 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0419e6ad8ea3..4b454d6c423c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,9 @@
pkgbase = sync_gateway-community-bin
pkgdesc = Manages access and synchronization between Couchbase Lite and Couchbase Server - Community Edition (CE)
pkgver = 2.8.2
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/couchbase/sync_gateway
+ install = sync_gateway.install
arch = x86_64
license = custom:Couchbase Community Edition License
provides = sync_gateway
diff --git a/PKGBUILD b/PKGBUILD
index 38515493f766..7f2db8152848 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,13 +3,15 @@
pkgname=sync_gateway-community-bin
pkgver=2.8.2
-pkgrel=1
+pkgrel=2
pkgdesc="Manages access and synchronization between Couchbase Lite and Couchbase Server - Community Edition (CE)"
url="https://github.com/couchbase/sync_gateway"
arch=('x86_64')
license=('custom:Couchbase Community Edition License')
provides=('sync_gateway')
conflicts=('sync_gateway-git')
+install="sync_gateway.install"
+
source=(
"https://packages.couchbase.com/releases/couchbase-sync-gateway/${pkgver}/couchbase-sync-gateway-community_${pkgver}_x86_64.deb"
'sync_gateway.service'
diff --git a/sync_gateway.install b/sync_gateway.install
new file mode 100644
index 000000000000..9325d585b210
--- /dev/null
+++ b/sync_gateway.install
@@ -0,0 +1,31 @@
+post_install() {
+ echo ''
+ echo ''
+ echo '============================='
+ echo '= Couchbase Sync Gateway CE ='
+ echo '============================='
+ echo ''
+ echo 'This AUR package adheres to the Filesystem Hierarchy Standard, instead of the typical Couchbase Sync Gateway installation directories, so some things to note:'
+ echo ''
+ echo '==================='
+ echo '# Systemd Service #'
+ echo '==================='
+ echo ''
+ echo 'Start/enable using the sync_gateway systemd service'
+ echo ''
+ echo '=========='
+ echo '# Config #'
+ echo '=========='
+ echo ''
+ echo 'The configuration file is at /etc/sync_gateway.json'
+ echo ''
+ echo 'You must restart Sync Gateway for any configuration changes to take effect.'
+ echo ''
+ echo '========'
+ echo '# Logs #'
+ echo '========'
+ echo ''
+ echo 'Console logging can be found in journalctl, and per-level log files are written to `/var/log/sync_gateway` by default.'
+ echo ''
+ echo ''
+}