AnrDaemon | ericsysmin: What do you mean by "list of vars"? | 00:19 |
---|---|---|
ericsysmin | i want to name a value lets say, "myvar" and set it to "value" then reference "myvar" multiple times in both script, and post-stop portions of upstart, how would I do that? | 00:22 |
ericsysmin | i've seen using env myvar=value and i'd put that above script | 00:23 |
ericsysmin | not sure if that's correct though | 00:23 |
AnrDaemon | ericsysmin: It's correct, but highly questionable practice. | 00:55 |
AnrDaemon | ericsysmin: First, it opens up the possibility to manipulate your daemon externally by setting these vars at init time. | 00:56 |
ericsysmin | so it's best to manually set these? | 01:04 |
ericsysmin | and not use vars in upstart | 01:04 |
AnrDaemon | You can, and sometimes should use vars. But consider their use carefully. | 01:07 |
=== JanC_ is now known as JanC |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!