osx - LaunchDaemons and Environment Variables -


For a while, I'm not seeing that when I start up, starting my Apache 2 instance installed by my MacPort not happening (). LaunchDaemon is loaded. Today I hit a log file in something which could point to the answer, but I can not get any confirmation.

I use environment variables in my httpd.conf file Specifically, $ {HOME} variable is it possible (or possible , Etc.) that the environmental variables are fully loaded when LaunchDiamond is executed? I can add them to the plist file, but I hope someone can check a decent, high level in OS X's boot process and confirm what I think.

Thank you.

I found on MacOSX, which contains some information, actually, laund start It has been done and is run as a root. Every demo is then started by file laund on the basis of the file.

At the beginning of the atmosphere during the Damon, I can not find any bit of clear information, but after reading the man, I received an order which is laund , Then move the move to the route and ask:

  # $> Sudoku su password: # $ & gt; Jomami Route # $ & gt; Launchchall Launched% Exports PAHHH = "/ USR / bin: / bin: / usr / sbi: / sbn"; Export path; Launching% Exit # $ & gt; Exit  

My guess is that the print environment is the one used when the daemons begin. If you repeat the operation without the root , then the environment must match one of the users.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -