summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr-testing/gophernicus/PKGBUILD3
-rw-r--r--pcr-testing/gophernicus/gophernicus.install11
2 files changed, 13 insertions, 1 deletions
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"
+}