Project

General

Profile

Reduxd init script always runs as root

Added by Christopher Lilienthal about 8 years ago

Hello,

On emg.nysbc.org/redmine/projects/appion/wiki/Install_Redux_image_server it mentions making sure the cache path is writable by the user that runs reduxd. However, as far as I can tell that will always be root in the current init script. I have tried modifying the script from 'nohup redux > /dev/null &' to 'su reduxd -c nohup redux > /dev/null &' where reduxd is a user that is a member of the correct groups so it can access our NFS storage and the cache directory. But it bombs out with no log messages whether caching is turned on or off. The only way for it to run is to have it execute as root. Am I missing a step or is this normal behavior?


Replies (2)

RE: Reduxd init script always runs as root - Added by Sargis Dallakyan about 8 years ago

Hello,

Try running reduxd without nohup and > /dev/null. Also specify the full path for the log and make sure it's writable by reduxd user.

RE: Reduxd init script always runs as root - Added by Anchi Cheng about 8 years ago

Also make sure redux.cfg has a user writable path for the cache and log.

    (1-2/2)