This is a feature request/bug report. I'd like to request that
functionality be added somewhere to the daemon function
/etc/rc.d/init.d/functions ... It would be nice to have a --user option
that allows us to specify a user to run a process as.
Currently, I run the commands as:
daemon 'su username -c "/path/to/mycommand --options"'
however this creates cosmetic problems with the current implementation of
daemon. It would be nice to run this as:
daemon --user username '/path/to/mycommand --options'
I think this is a valid feature request and could be quite usefull in
future package installations.
This has been added as of somewhere around 4.84 or so.