Created attachment 744342 [details] patch for languagetool.initd /etc/init.d/languagetool does not start: ``` /etc/init.d # /etc/init.d/languagetool start languagetool | * Caching service dependencies ... [ ok ] languagetool | * Starting languagetool [server] ... languagetool |start-stop-daemon: unrecognized option '--config' languagetool |Usage: start-stop-daemon [options] languagetool | languagetool |Options: [ I:KN:PR:Sa:bc:d:e:g:ik:mn:op:s:tu:r:w:x:1:2:3:4:ChqVv ] languagetool | -I, --ionice <arg> Set an ionice class:data when starting languagetool | -K, --stop Stop daemon languagetool | -N, --nicelevel <arg> Set a nicelevel when starting languagetool | -R, --retry <arg> Retry schedule to use when stopping languagetool | -S, --start Start daemon languagetool | -a, --startas <arg> deprecated, use --exec or --name languagetool | -b, --background Force daemon to background languagetool | -c, --chuid <arg> deprecated, use --user languagetool | -d, --chdr <arg> Change the PWD languagetool | -e, --env <arg> Set an environment string languagetool | -k, --umask <arg> Set the umask for the daemon languagetool | -g, --group <arg> Change the process group languagetool | -i, --interpreted Match process name by interpreter languagetool | -m, --make-pidfile Create a pidfile languagetool | -n, --name <arg> Match process name languagetool | -o, --oknodo deprecated languagetool | -p, --pidfile <arg> Match pid found in this file languagetool | -s, --signal <arg> Send a different signal languagetool | -t, --test Test actions, don't do them languagetool | -u, --user <arg> Change the process user languagetool | -r, --chroot <arg> Chroot to this directory languagetool | -w, --wait <arg> Milliseconds to wait for daemon start languagetool | -x, --exec <arg> Binary to start/stop languagetool | -1, --stdout <arg> Redirect stdout to file languagetool | -2, --stderr <arg> Redirect stderr to file languagetool | -3, --stdout-logger <arg> Redirect stdout to process languagetool | -4, --stderr-logger <arg> Redirect stderr to process languagetool | -P, --progress Print dots each second while waiting languagetool | -h, --help Display this help output languagetool | -C, --nocolor Disable color output languagetool | -V, --version Display software version languagetool | -v, --verbose Run verbosely languagetool | -q, --quiet Run quietly (repeat to suppress errors) [ !! ] languagetool | * ERROR: languagetool failed to start ```
I've run into this myself. Adding the -- as indicated in the patch does the trick.
(In reply to Aaron W. Swenson from comment #1) > I've run into this myself. > > Adding the -- as indicated in the patch does the trick. Just commit the fix.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b476bb3929092b24c5e7e58aab196b1c1c46115 commit 0b476bb3929092b24c5e7e58aab196b1c1c46115 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-09-25 02:17:37 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-09-25 02:18:52 +0000 app-text/languagetool: fix start-stop-daemon args Closes: https://bugs.gentoo.org/817398 Signed-off-by: Sam James <sam@gentoo.org> app-text/languagetool/files/languagetool.initd | 6 +++--- .../{languagetool-5.4.ebuild => languagetool-5.4-r1.ebuild} | 0 2 files changed, 3 insertions(+), 3 deletions(-)