Commit d6ab9cae authored by Sebastian Reichel's avatar Sebastian Reichel

drop DISABLED functionality from tt-rss.init

parent 32d65e33
Pipeline #3009 skipped with stage
......@@ -7,6 +7,8 @@ tt-rss (17.4+git20180312+dfsg-1) unstable; urgency=high
* Update compat to 11
* Update Debian Standards Version to 4.1.3
* Switch VCS urls to salsa
* Drop DISABLED functionality from init.d script. Please use
'update-rc.d tt-rss disable' instead.
-- Sebastian Reichel <sre@debian.org> Tue, 13 Mar 2018 21:51:13 +0100
......
## Defaults for Tiny Tiny RSS update daemon init.d script
# Set DISABLED to 1 to prevent the daemon from starting.
DISABLED=1
# Set FORKING to 1 to use the forking daemon (update_daemon2.php) instead of
# the standard one.
FORKING=0
......@@ -14,7 +14,6 @@
PATH=/sbin:/usr/sbin:/bin:/usr/bin
DESC="Tiny Tiny RSS update daemon"
NAME=tt-rss
DISABLED=0
FORKING=0
PIDFILE=/var/lib/tt-rss/update_daemon.lock
......@@ -46,11 +45,6 @@ SCRIPTNAME=/etc/init.d/tt-rss
# Depend on lsb-base (>= 3.0-6) to ensure that this file is present.
. /lib/lsb/init-functions
if [ "$DISABLED" != "0" -a "$1" != "stop" ]; then
log_warning_msg "Not starting $DESC - edit /etc/default/tt-rss and change DISABLED to be 0.";
exit 0;
fi
#
# Function that starts the daemon/service
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment