Skip to content
Snippets Groups Projects
  1. Sep 24, 2020
    • Johannes Heimansberg's avatar
      testing/3proxy: fix init script and use supervise-daemon instead of start-stop-daemon · 2c8eb6cc
      Johannes Heimansberg authored and Leo's avatar Leo committed
      There are a couple of issues with the start-stop-daemon call in the init script, that
      prevent it from working with 3proxy 0.8.13:
      - 3proxy does not understand the --pidfile and --user options that are passed to it
        by start-stop-daemon (are they meant for start-stop-daemon instead?)
      - Since 3proxy does not write its own pidfile by default, start-stop-daemon would
        need the -m option, so it would create the .pid file; instead of doing that
        supervise-daemon is now used instead, which avoids PID files altogether
      - Both start-stop-daemon and supervise-daemon get confused when passing a user name
        starting with a number via the --user option and interpret it as a numeric UID; to
        avoid this, the UID/GID of the "3proxy" user/group are now fetched with
        ``id -u``/``id -g`` and then the correct numeric UID and GID are passed
      2c8eb6cc
  2. Sep 02, 2019
  3. May 25, 2019
  4. Apr 09, 2018
  5. Jul 10, 2017
  6. Apr 25, 2016
  7. Nov 30, 2015
Loading