summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2017-09-27 19:54:50 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2017-09-27 19:54:50 -0500
commit258ad199bcd502438f5fdc057c0d0788aa19ff84 (patch)
tree68ea916e8ed99b6c23c05b0c40c8f65385ecd9d5 /pcr
parente8d1a92e2fd63c5c24df5ad08907b1cd4976f1dc (diff)
downloadabslibre-258ad199bcd502438f5fdc057c0d0788aa19ff84.tar.gz
abslibre-258ad199bcd502438f5fdc057c0d0788aa19ff84.tar.bz2
abslibre-258ad199bcd502438f5fdc057c0d0788aa19ff84.zip
Removing yacy-openrc
Diffstat (limited to 'pcr')
-rw-r--r--pcr/yacy-openrc/PKGBUILD19
-rwxr-xr-xpcr/yacy-openrc/yacy29
-rw-r--r--pcr/yacy-openrc/yacy.install4
3 files changed, 0 insertions, 52 deletions
diff --git a/pcr/yacy-openrc/PKGBUILD b/pcr/yacy-openrc/PKGBUILD
deleted file mode 100644
index 627ceab50..000000000
--- a/pcr/yacy-openrc/PKGBUILD
+++ /dev/null
@@ -1,19 +0,0 @@
-# Maintainer: Bruno Cichoń <ebrasca.ebrasca@openmailbox.org>
-# Contributor: André Silva <emulatorman@hyperbola.info>
-
-pkgname=yacy-openrc
-pkgver=0.1.0
-pkgrel=1
-pkgdesc="OpenRC init script for YaCy"
-arch=('any')
-license=('GPL2')
-depends=('openrc' 'yacy')
-backup=('etc/init.d/yacy')
-install=yacy.install
-source=('yacy')
-md5sums=('98c064c816a9a05a324666e2aecd01bd')
-
-package() {
- install -dm755 $pkgdir/etc/init.d
- install -Dm755 $srcdir/yacy $pkgdir/etc/init.d
-} \ No newline at end of file
diff --git a/pcr/yacy-openrc/yacy b/pcr/yacy-openrc/yacy
deleted file mode 100755
index e70ea720a..000000000
--- a/pcr/yacy-openrc/yacy
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/openrc-run
-
-PIDFile=/opt/yacy/.yacy/yacy.pid
-User=yacy
-
-description="YaCy P2P Web Search"
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting Yacy"
- start-stop-daemon --background --user "${User}" --start --pidfile "${PIDFILE}" --quiet --exec /opt/yacy/yacy start
- eend $?
-}
-
-stop() {
- ebegin "Stopping Yacy"
- start-stop-daemon --stop --pidfile "${PIDFILE}" --quiet --exec /opt/yacy/yacy stop
- eend $?
-}
-
-restart() {
- ebegin "Reloading Yacy."
- start-stop-daemon --stop --pidfile "${PIDFILE}" --quiet --exec /opt/yacy/yacy stop
- start-stop-daemon --background --user "${User}" --start --pidfile "${PIDFILE}" --quiet --exec /opt/yacy/yacy start
- eend $?
-}
diff --git a/pcr/yacy-openrc/yacy.install b/pcr/yacy-openrc/yacy.install
deleted file mode 100644
index d07129617..000000000
--- a/pcr/yacy-openrc/yacy.install
+++ /dev/null
@@ -1,4 +0,0 @@
-post_install() {
- echo " ==> /var/lib/yacy /opt/yacy needs these adjustments:"
- echo " chown -R yacy:yacy /var/lib/yacy /opt/yacy"
-}