Control: tag -1 patch
this (untested) patch should fix the issue
ciao!
diff -urN a/debian/tt-rss.init b/debian/tt-rss.init
--- a/debian/tt-rss.init 2019-05-17 17:47:08.174896466 +0200
+++ b/debian/tt-rss.init 2019-05-17 17:52:21.938887893 +0200
@@ -79,7 +79,7 @@
# 1 if daemon was already stopped
# 2 if daemon could not be stopped
# other if a failure occurred
- start-stop-daemon --stop --quiet --retry=TERM/1/KILL/5 --pidfile $PIDFILE
+ start-stop-daemon --stop --quiet --retry=TERM/1/KILL/5 --pidfile $PIDFILE --exec $DAEMON --user www-data
RETVAL="$?"
[ "$RETVAL" = 2 ] && return 2
# Wait for children to finish too if this is a daemon that forks
@@ -88,7 +88,7 @@
# that waits for the process to drop all resources that could be
# needed by services started subsequently. A last resort is to
# sleep for some time.
- start-stop-daemon --stop --quiet --oknodo --retry=0/1/KILL/5 --exec $DAEMON
+ start-stop-daemon --stop --quiet --oknodo --retry=0/1/KILL/5 --exec $DAEMON --user www-data
[ "$?" = 2 ] && return 2
# Many daemons don't delete their pidfiles when they exit.
rm -f $PIDFILE