<div dir="ltr">Hi Marcus,<div class="gmail_extra"><br><div class="gmail_quote">2014-03-20 13:29 GMT+00:00 <span dir="ltr"><<a href="mailto:marcus@colisp.com" target="_blank">marcus@colisp.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Good day!<br>
<br>
Just "discovered" Upstart after ruining about a week's worth of spare<br>
time trying to get something done with System V. The sooner we move<br>
beyond the need to use init.d/rcX.d for things like parallel<br>
launching, the better...<br>
<br>
On that note, I posted a request for assistance up on the General<br>
Help section of Ubuntu Forums; and wasn't able to get much help with<br>
my query. Seems the community has just passed by Upstart.<br>
Disappointed --<br>
<br>
At any rate, I simply need to launch a bash script from Upstart; and<br>
cannot get around everything defaulting to dash instead. I've read<br>
the relevant documentation, and tried all I can reason through from<br>
there: No dice.<br>
<br>
Is there some straightforward way of getting a simple bash-banglined<br>
script to run with bash instead of dash under Upstart???<br></blockquote><div><br></div><div>There are good reason for Upstart using /bin/sh - it's smaller, possibly faster, standards compliant and theoretically probably safer (in the sense that it has more restricted functionality than bash). As such, we'd recommend that you rework the script to use /bin/sh where possible (or just have the Upstart job call the bash script).</div>
<div><br></div><div>However, if you really want to use bash or some other shell in the job itself:</div><div><br></div><div><div> <a href="http://upstart.ubuntu.com/cookbook/#changing-the-default-shell">http://upstart.ubuntu.com/cookbook/#changing-the-default-shell</a></div>
</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
<br>
Thanks so much; and have a great day --<br>
<span class=""><font color="#888888"><br>
<br>
--<br>
upstart-devel mailing list<br>
<a href="mailto:upstart-devel@lists.ubuntu.com">upstart-devel@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/upstart-devel" target="_blank">https://lists.ubuntu.com/mailman/listinfo/upstart-devel</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Kind regards,<br><br>James.<br>--<br>James Hunt<br>____________________________________<br>#upstart on freenode<br><a href="http://upstart.ubuntu.com/cookbook" target="_blank">http://upstart.ubuntu.com/cookbook</a><br>
<a href="https://lists.ubuntu.com/mailman/listinfo/upstart-devel" target="_blank">https://lists.ubuntu.com/mailman/listinfo/upstart-devel</a><br></div>
</div></div>