From c2c8603440b7554e3e8bc13fcd87e271b14d7db7 Mon Sep 17 00:00:00 2001 From: bill-auger Date: Tue, 27 Apr 2021 17:35:49 -0400 Subject: [gophernicus]: add .install file --- pcr-testing/gophernicus/PKGBUILD | 3 ++- pcr-testing/gophernicus/gophernicus.install | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 pcr-testing/gophernicus/gophernicus.install (limited to 'pcr-testing') diff --git a/pcr-testing/gophernicus/PKGBUILD b/pcr-testing/gophernicus/PKGBUILD index d869e4b76..d01c74125 100644 --- a/pcr-testing/gophernicus/PKGBUILD +++ b/pcr-testing/gophernicus/PKGBUILD @@ -4,7 +4,7 @@ pkgname=gophernicus pkgver=3.1.1 -pkgrel=1 +pkgrel=2 pkgdesc="Modern, full-featured (and hopefully) secure gopher daemon" arch=('armv7h' 'i686' 'x86_64') url="https://github.com/gophernicus/gophernicus" @@ -12,6 +12,7 @@ license=('BSD2') backup=(etc/xinetd.d/gophernicus srv/gopher/gophermap) +install=${pkgname}.install depends=('libwrap' 'xinetd') optdepends=("xinetd-openrc: openrc init-script") diff --git a/pcr-testing/gophernicus/gophernicus.install b/pcr-testing/gophernicus/gophernicus.install new file mode 100644 index 000000000..ad4be4589 --- /dev/null +++ b/pcr-testing/gophernicus/gophernicus.install @@ -0,0 +1,11 @@ +post_install() { + echo "==> to start the gophernicus service:" + echo " systemd:" + echo " # systemctl start xinetd.service" + echo " openrc:" + echo " # rc-service xinetd start" + echo "==> configuration is:" + echo " /etc/xinetd.d/gophernicus" + echo "==> server root is:" + echo " /srv/gopher" +} -- cgit v1.2.3