"service"-command and environment variables
- by varesa
I am trying to start a service that requires a env. variable to be set to certain path. I set this variable in "/etc/profile.d/". However when I start this service using the service command, it doesn't work.
man service:
service runs a System V init script in as predictable environment as possible,
removing most environment variables and with…