[DRE-maint] Bug#832119: unicorn: start script won't start if config file exists!
Jörg-Volker Peetz
jvpeetz at web.de
Fri Jul 22 14:12:41 UTC 2016
Package: unicorn
Version: 5.0.1-1
Severity: grave
Dear Maintainer,
there seems to be an error in /etc/init.d/unicorn which forbids to start
unicorn if a config file exists (and not if it *not* exist).
In lines 42--44 it reads
if [ -s $CONFIG_RB ]; then
exit_with_message "Unicorn config.rb is missing (see /etc/default/unicorn)."
fi
Shouldn't that be
if [ ! -s $CONFIG_RB ]; then
in line 42 or something like that?
Regards,
jvp.
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (600, 'testing'), (500, 'unstable'), (5, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.6.3 (SMP w/2 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages unicorn depends on:
ii init-system-helpers 1.39
ii libc6 2.23-1
ii libgmp10 2:6.1.1+dfsg-1
ii libruby2.3 2.3.1-3
ii ruby 1:2.3.0+4
ii ruby-kgio 2.10.0-1+b2
ii ruby-rack 1.6.4-4
ii ruby-raindrops 0.16.0-1+b1
unicorn recommends no packages.
unicorn suggests no packages.
-- Configuration Files:
/etc/default/unicorn changed:
TIMEOUT=60
CONFIG_RB="/usr/share/redmine/config/unicorn.conf.rb"
PID=/run/unicorn.pid
UNICORN_OPTS="-E production"
-- no debconf information
More information about the Pkg-ruby-extras-maintainers
mailing list