Package: gwsetup Version: 6.08+git20160228+dfsg-2 Severity: normal Tags: patch
Dear Maintainer, Having geneweb and gwsetup installed on a headless machine it is useful to be able to use gwsetup from another system. The supplied grsetup.wrapper does not supply the '-only' argument to the daemon. The attached patch points gwsetup to the supplied -only file. -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.7.0-1-amd64 (SMP w/1 CPU core) Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages gwsetup depends on: ii adduser 3.115 ii debconf [debconf-2.0] 1.5.59 ii dpkg 1.18.14 ii geneweb 6.08+git20160228+dfsg-2 ii libc6 2.24-5 gwsetup recommends no packages. gwsetup suggests no packages. -- debconf information: gwsetup/port: 2316 gwsetup/run_mode: Always on
--- gwsetup.wrapper.orig 2016-11-12 17:01:31.991077606 +0000 +++ gwsetup.wrapper 2016-11-12 17:02:27.803080269 +0000 @@ -8,5 +8,5 @@ cd $GENEWEBDB # Use a non predictable name for the temporary command output file TEMPFILE=`tempfile` -$DAEMON -gd $GENEWEBSHARE -lang $LNG -p $GWSETUP_PORT -bindir /usr/bin -log $TEMPFILE -daemon >>/var/log/gwsetup.log 2>&1 +$DAEMON -gd $GENEWEBSHARE -lang $LNG -p $GWSETUP_PORT -bindir /usr/bin -only /etc/geneweb/gwsetup_only.txt -log $TEMPFILE -daemon >>/var/log/gwsetup.log 2>&1 exit $?