Package: runit
Version: 2.0.0-1
Severity: wishlist

Hi,

would it be possibel to include environment variables parsing within run
script itself, like chpst -e?

It's rather ugly to use chpst for configuration variables:

eg. for atftpd
exec chpst -e env sh -c atftpd --no-fork --daemon \$OPTIONS

with OPTIONS populated it gets much nicer:
exec atftpd --no-fork --daemon $OPTIONS

currently i'm using a directory 'conf' much like env, but with manual
parsing of variables which is also not ideal.

OPTIONS="$(cat conf/OPTIONS)"

Or are there any better methods for tasks like this with runit?

michael

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.23-grml64 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.iso885915, LC_CTYPE=en_US.iso885915 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

runit depends on no packages.

Versions of packages runit recommends:
ii  fgetty                        0.6-4      very small, efficient, console-onl

Versions of packages runit suggests:
pn  runit-run                     <none>     (no description available)
pn  socklog-run                   <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to