init.d scripts
Ed Hill
ed at eh3.com
Mon Jan 30 11:07:36 EST 2006
On Mon, 2006-01-30 at 10:59 -0500, David Kramer wrote:
> On Mon, January 30, 2006 10:56 am, Ed Hill wrote:
> > #!/usr/bin/env php
> >
> I thought of that. I can't really do that, because the script is also
> web-accessible, and the shebang line would print out on the page.
>
> Making a one-line script to call it sounds like the best option at this point.
No, it won't. The php interpreter strips it. Go ahead, try it.
Ed
--
Edward H. Hill III, PhD
office: MIT Dept. of EAPS; Rm 54-1424; 77 Massachusetts Ave.
Cambridge, MA 02139-4307
emails: eh3 at mit.edu ed at eh3.com
URLs: http://web.mit.edu/eh3/ http://eh3.com/
phone: 617-253-0098
fax: 617-253-4464
More information about the Discuss
mailing list