* [gentoo-commits] repo/gentoo:master commit in: www-apps/tt-rss/files/
@ 2017-02-14 21:39 David Seifert
0 siblings, 0 replies; 2+ messages in thread
From: David Seifert @ 2017-02-14 21:39 UTC (permalink / raw
To: gentoo-commits
commit: 960375d3fa39a1d4e7e26a260ec0f246af407bbe
Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Tue Feb 14 19:16:04 2017 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Tue Feb 14 21:39:45 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=960375d3
www-apps/tt-rss: remove unused init file
Closes: https://github.com/gentoo/gentoo/pull/3971
| 73 -----------------------------------
1 file changed, 73 deletions(-)
diff --git a/www-apps/tt-rss/files/ttrssd.initd-r1 b/www-apps/tt-rss/files/ttrssd.initd-r1
deleted file mode 100644
index bceb9ffce2..0000000000
--- a/www-apps/tt-rss/files/ttrssd.initd-r1
+++ /dev/null
@@ -1,73 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-depend() {
- need logger net
- after postgres mysql
-}
-
-LOGFILE=${LOGFILE:-"/var/log/ttrssd.log"}
-TTRSSD_USER=${TTRSSD_USER:-"ttrssd"}
-TTRSSD_GROUP=${TTRSSD_GROUP:-"ttrssd"}
-INSTANCE_FOLDERS="cache lock feed-icons"
-
-checkconfig() {
- local instance dir
-
- # check instances
- if [ -z "${INSTANCE_DIRS}" ]; then
- eerror "There is no defined instance directory in /etc/conf.d/ttrssd"
- return 1
- fi
-
- # verify log file accessibility
- if [ ! -e "${LOGFILE}" ]; then
- touch "${LOGFILE}" || return 1
- fi
- chown "${TTRSSD_USER}":"${TTRSSD_GROUP}" "${LOGFILE}" || return 1
-
- # check instances for errors
- for instance in ${INSTANCE_DIRS}; do
- if [ ! -f "${instance}/update_daemon2.php" ]; then
- eerror "\"${instance}\" does not contain update_daemon2.php script."
- eerror "Please check your installation or the INSTANCE_DIRS variable."
- return 1
- fi
-
- # FIXME: This should be done by webapp-config during install
- for dir in ${INSTANCE_FOLDERS}; do
- if [ -d "${instance}/${dir}" ]; then
- chgrp -R "${TTRSSD_GROUP}" "${instance}/${dir}" || return 1
- chmod -R g+w "${instance}/${dir}" || return 1
- fi
- done
- done
-}
-
-start () {
- local instance
-
- checkconfig || return 1
-
- for instance in ${INSTANCE_DIRS}; do
- ebegin "Starting TT-RSS update daemon in \"${instance}\""
- start-stop-daemon --start --user "${TTRSSD_USER}":"${TTRSSD_GROUP}" --background \
- --stdout "${LOGFILE}" --stderr "${LOGFILE}" \
- --exec /usr/bin/php -- -f "${instance}/update_daemon2.php"
- eend $?
- done
-}
-
-stop() {
- local instance
-
- for instance in ${INSTANCE_DIRS}; do
- ebegin "Stopping TT-RSS update daemon in \"${instance}\""
- start-stop-daemon --stop --retry 30 \
- --exec /usr/bin/php -- -f "${instance}/update_daemon2.php"
- eend $?
- rm -f ${instance}/lock/*.lock
- done
-}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/tt-rss/files/
@ 2017-02-25 19:56 Ulrich Müller
0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Müller @ 2017-02-25 19:56 UTC (permalink / raw
To: gentoo-commits
commit: dd648e8f7197bc3449fc9d8cabc28513d0e904be
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 25 19:55:03 2017 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Feb 25 19:56:10 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd648e8f
www-apps/tt-rss: [QA] Fix header.
| 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--git a/www-apps/tt-rss/files/ttrssd.confd-r1 b/www-apps/tt-rss/files/ttrssd.confd-r1
index 2987c4338f..3516e9c920 100644
--- a/www-apps/tt-rss/files/ttrssd.confd-r1
+++ b/www-apps/tt-rss/files/ttrssd.confd-r1
@@ -1,5 +1,5 @@
# Copyright 1999-2013 Gentoo Foundation
-# # Distributed under the terms of the GNU General Public License v2
+# Distributed under the terms of the GNU General Public License v2
# $Id$
# Path to TT-RSS instances which should have running update daemon.
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-25 19:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-25 19:56 [gentoo-commits] repo/gentoo:master commit in: www-apps/tt-rss/files/ Ulrich Müller
-- strict thread matches above, loose matches on Subject: below --
2017-02-14 21:39 David Seifert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox