I'm assuming the issue here is that the java process is running as root, correct?
Or are you concerned about supervisord running as root too?
Assuming it's the first one, supervisord supports dropping permissions when it executes processes, so perhaps we should just update the supervisord.conf to run both java and eventually nodejs as the jenkins user?
I'm assuming the issue here is that the java process is running as root, correct?
Or are you concerned about supervisord running as root too?
Assuming it's the first one, supervisord supports dropping permissions when it executes processes, so perhaps we should just update the supervisord.conf to run both java and eventually nodejs as the jenkins user?