summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSemyon Maryasin2017-11-27 17:33:39 +0300
committerSemyon Maryasin2017-11-27 17:33:39 +0300
commit6e48c9579df6246448be0624fb8850232deac69d (patch)
tree570228375726fc7c10384e541e979dc52172021f
parent101b1f9d2d4ce5643af08a7d1d9bd42ee0dd6fd6 (diff)
downloadaur-6e48c9579df6246448be0624fb8850232deac69d.tar.gz
Added post-install message
-rw-r--r--PKGBUILD2
-rw-r--r--aws-xray-daemon.install5
2 files changed, 6 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d306d715cbd9..9a2af62b8e74 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,7 +17,7 @@ conflicts=()
replaces=()
backup=()
options=()
-install=
+install=$pkgname.install
changelog=
source=("https://s3.dualstack.us-east-2.amazonaws.com/aws-xray-assets.us-east-2/xray-daemon/$pkgname-$pkgver.rpm")
noextract=()
diff --git a/aws-xray-daemon.install b/aws-xray-daemon.install
new file mode 100644
index 000000000000..1885d2e8accd
--- /dev/null
+++ b/aws-xray-daemon.install
@@ -0,0 +1,5 @@
+post_install() {
+ echo "Don't forget to edit /etc/amazon/xray/cfg.yaml to specify region and credentials,"
+ echo "or else the daemon won't work."
+ echo "Start it with 'systemctl start xray', as usual."
+}