thatguydan | Hey guys, how do I preserve /etc/environment variables in launching a process as another user? | 01:49 |
---|---|---|
=== bradleyayers_ is now known as bradleyayers | ||
thatguydan | serverfault rekons exec su root -c /usr/sbin/job_needing_envs will do it | 01:57 |
thatguydan | but I can't replicate | 01:57 |
=== thatguydan_ is now known as thatguydan | ||
=== thatguydan_ is now known as thatguydan | ||
SpamapS | thatguydan: script\n. /etc/environment\nexec yourthing\nend script | 03:46 |
ion | That won’t export the values. | 04:13 |
ion | set -a | 04:14 |
gchristensen | is there a way to delay the restarting of a job? respawn limi 10 600, but I'd like that before restarting, it delays for a minute | 21:12 |
=== bradleyayers_ is now known as bradleyayers |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!