[arch-commits] Commit in inadyn/trunk (PKGBUILD inadyn.install)
Daniel M. Capella
polyzen at gemini.archlinux.org
Thu May 5 21:34:52 UTC 2022
Date: Thursday, May 5, 2022 @ 21:34:52
Author: polyzen
Revision: 1195538
Add post-install instructions
Added:
inadyn/trunk/inadyn.install
Modified:
inadyn/trunk/PKGBUILD
----------------+
PKGBUILD | 1 +
inadyn.install | 11 +++++++++++
2 files changed, 12 insertions(+)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-05 21:19:05 UTC (rev 1195537)
+++ PKGBUILD 2022-05-05 21:34:52 UTC (rev 1195538)
@@ -15,6 +15,7 @@
depends=('ca-certificates' 'confuse' 'openssl')
replaces=("$pkgname-fork")
backup=("etc/$pkgname.conf" "etc/default/$pkgname")
+install=$pkgname.install
source=("https://github.com/troglobit/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz"
'override.conf'
"$pkgname.env"
Added: inadyn.install
===================================================================
--- inadyn.install (rev 0)
+++ inadyn.install 2022-05-05 21:34:52 UTC (rev 1195538)
@@ -0,0 +1,11 @@
+post_install() {
+ cat << EOF
+Configure inadyn via /etc/inadyn.conf. See \`man 5 inadyn.conf\`.
+
+Configure CLI options used by the systemd service via the INADYN_OPTS
+environment variable in /etc/default/inadyn. See \`man 8 inadyn\`.
+
+Start inadyn and enable its systemd service:
+# systemctl enable --now inadyn
+EOF
+}
More information about the arch-commits
mailing list