From a3570d7a408753d8f824cf87018dbfa26dc5522f Mon Sep 17 00:00:00 2001 From: root Date: Thu, 14 Apr 2016 11:32:12 +0300 Subject: [PATCH] yacy --- talimatname/genel/yacy/talimat | 18 ++++++++---------- talimatname/genel/yacy/yacy-start.sh | 5 ----- talimatname/genel/yacy/yacy-stop.sh | 5 ----- 3 files changed, 8 insertions(+), 20 deletions(-) delete mode 100644 talimatname/genel/yacy/yacy-start.sh delete mode 100644 talimatname/genel/yacy/yacy-stop.sh diff --git a/talimatname/genel/yacy/talimat b/talimatname/genel/yacy/talimat index da0c8852c..e511c18ad 100644 --- a/talimatname/genel/yacy/talimat +++ b/talimatname/genel/yacy/talimat @@ -9,10 +9,10 @@ _pkgextraver=20150121_9000 release=1 source=("http://www.yacy.net/release/yacy_v${version}_${_pkgextraver}.tar.gz" - yacy.rc yacy-start.sh yacy-stop.sh) + yacy.rc) build() { - . /etc/profile.d/apache-ant.sh + . /etc/profile.d/ant.sh cd "$SRC/$name" ant all @@ -23,15 +23,13 @@ build() { install -Dm644 "${SRC}/yacy.rc" "${PKG}/etc/rc.d/init.d/yacy" - # symlink generated configuration file + # ayar kısayol ln -s /var/cache/yacy/DATA/SETTINGS/yacy.conf $PKG/etc/yacy/yacy.conf - # install service - chown root:yacy $PKG/usr/lib/yacy/startYACY.sh $PKG/usr/lib/yacy/stopYACY.sh - chmod 0750 $PKG/usr/lib/yacy/startYACY.sh $PKG/usr/lib/yacy/stopYACY.sh - install -d $PKG/usr/sbin - install -m 0750 -g yacy $SRC/yacy-start.sh $PKG/usr/sbin/yacy-start - install -m 0750 -g yacy $SRC/yacy-stop.sh $PKG/usr/sbin/yacy-stop + # servis dosya + install -d $PKG/usr/bin + install -m 0750 $SRC/$name/startYACY.sh $PKG/usr/bin/yacy-start + install -m 0750 $SRC/$name/stopYACY.sh $PKG/usr/bin/yacy-stop - rm -f "$PKG"/etc/yacy "$PKG"/usr/share/yacy/DATA "$PKG"/var/log/yacy + rm -f "$PKG"/usr/share/yacy/DATA "$PKG"/var/log/yacy } diff --git a/talimatname/genel/yacy/yacy-start.sh b/talimatname/genel/yacy/yacy-start.sh deleted file mode 100644 index 9fc206734..000000000 --- a/talimatname/genel/yacy/yacy-start.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -cd /usr/lib/yacy -./startYACY.sh - diff --git a/talimatname/genel/yacy/yacy-stop.sh b/talimatname/genel/yacy/yacy-stop.sh deleted file mode 100644 index db58d5ac5..000000000 --- a/talimatname/genel/yacy/yacy-stop.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -cd /usr/lib/yacy -./stopYACY.sh -