<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: ColdFusion Batch Scripts &#8211; For Linux</title>
	<atom:link href="http://thecrumb.com/2008/01/25/coldfusion-batch-scripts-for-linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://thecrumb.com/2008/01/25/coldfusion-batch-scripts-for-linux/</link>
	<description>developer &#124; thinker &#124; tinkerer</description>
	<lastBuildDate>Mon, 06 Feb 2012 15:30:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Richard Reece</title>
		<link>http://thecrumb.com/2008/01/25/coldfusion-batch-scripts-for-linux/#comment-623</link>
		<dc:creator>Richard Reece</dc:creator>
		<pubDate>Fri, 11 Apr 2008 17:14:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecrumb.com/2008/01/25/coldfusion-batch-scripts-for-linux/#comment-623</guid>
		<description>Actually, the bash script above only allows the services to be started and you have to be logged on as root in order to start the services. Then Apache and CF8 run with their own users. Apache runs with the &#039;apache&#039; user and CF8 runs with &#039;nobody&#039; by default.

To stop them from starting at boot, you would use the commands:
&gt;chkconfig httpd off
&gt;chkconfig coldfusion_8 off

... and then run the bash to manually start them.

*The above commands are for Red Hat and their variants, not sure about Ubuntu.</description>
		<content:encoded><![CDATA[<p>Actually, the bash script above only allows the services to be started and you have to be logged on as root in order to start the services. Then Apache and CF8 run with their own users. Apache runs with the &#8216;apache&#8217; user and CF8 runs with &#8216;nobody&#8217; by default.</p>
<p>To stop them from starting at boot, you would use the commands:<br />
&gt;chkconfig httpd off<br />
&gt;chkconfig coldfusion_8 off</p>
<p>&#8230; and then run the bash to manually start them.</p>
<p>*The above commands are for Red Hat and their variants, not sure about Ubuntu.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Tucker</title>
		<link>http://thecrumb.com/2008/01/25/coldfusion-batch-scripts-for-linux/#comment-622</link>
		<dc:creator>David Tucker</dc:creator>
		<pubDate>Mon, 28 Jan 2008 12:48:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecrumb.com/2008/01/25/coldfusion-batch-scripts-for-linux/#comment-622</guid>
		<description>The scripts are installed if you use the default setup, but they are not installed if you choose the Multiple Instance (w/JRun) setup.</description>
		<content:encoded><![CDATA[<p>The scripts are installed if you use the default setup, but they are not installed if you choose the Multiple Instance (w/JRun) setup.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Chiverton</title>
		<link>http://thecrumb.com/2008/01/25/coldfusion-batch-scripts-for-linux/#comment-621</link>
		<dc:creator>Tom Chiverton</dc:creator>
		<pubDate>Mon, 28 Jan 2008 11:20:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecrumb.com/2008/01/25/coldfusion-batch-scripts-for-linux/#comment-621</guid>
		<description>You could make use of the actual Adobe scripts stored in /etc/init.d/ which would save the typing.
I&#039;m not sure these get installed unless you choose the &#039;start CF at start up&#039; option in the installer, in which case you can choose that then
rm /etc/rc.d/rc*/*coldfusion_*
or use chkconfig (or your Linux&#039;s varient) to set it not to start itself.</description>
		<content:encoded><![CDATA[<p>You could make use of the actual Adobe scripts stored in /etc/init.d/ which would save the typing.<br />
I&#8217;m not sure these get installed unless you choose the &#8216;start CF at start up&#8217; option in the installer, in which case you can choose that then<br />
rm /etc/rc.d/rc*/*coldfusion_*<br />
or use chkconfig (or your Linux&#8217;s varient) to set it not to start itself.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Henke</title>
		<link>http://thecrumb.com/2008/01/25/coldfusion-batch-scripts-for-linux/#comment-620</link>
		<dc:creator>Mike Henke</dc:creator>
		<pubDate>Sat, 26 Jan 2008 20:14:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecrumb.com/2008/01/25/coldfusion-batch-scripts-for-linux/#comment-620</guid>
		<description>i guess I had root not [username] in the script to be able to close the term session and still be able to run cf.</description>
		<content:encoded><![CDATA[<p>i guess I had root not [username] in the script to be able to close the term session and still be able to run cf.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://thecrumb.com/2008/01/25/coldfusion-batch-scripts-for-linux/#comment-619</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Sat, 26 Jan 2008 20:08:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecrumb.com/2008/01/25/coldfusion-batch-scripts-for-linux/#comment-619</guid>
		<description>Thanks Jim.  I am not much on unix commands but I was was using gksudo -d -k -S -u [username] command to start my cf server.  I took your script and changed it around a little, now it doesn&#039;t prompt me for a password and I can close the term session when finished running.  Running it is just ./cfstart.sh

#!/bin/bash
gksudo -d -k -S /etc/init.d/apache2 start
gksudo -d -k -S -u [username] /opt/jrun4/bin/jrun start cfusion</description>
		<content:encoded><![CDATA[<p>Thanks Jim.  I am not much on unix commands but I was was using gksudo -d -k -S -u [username] command to start my cf server.  I took your script and changed it around a little, now it doesn&#8217;t prompt me for a password and I can close the term session when finished running.  Running it is just ./cfstart.sh</p>
<p>#!/bin/bash<br />
gksudo -d -k -S /etc/init.d/apache2 start<br />
gksudo -d -k -S -u [username] /opt/jrun4/bin/jrun start cfusion</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://thecrumb.com/2008/01/25/coldfusion-batch-scripts-for-linux/#comment-618</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Sat, 26 Jan 2008 04:49:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecrumb.com/2008/01/25/coldfusion-batch-scripts-for-linux/#comment-618</guid>
		<description>David - great point. Yes this is certainly intended ONLY for development.</description>
		<content:encoded><![CDATA[<p>David &#8211; great point. Yes this is certainly intended ONLY for development.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Tucker</title>
		<link>http://thecrumb.com/2008/01/25/coldfusion-batch-scripts-for-linux/#comment-617</link>
		<dc:creator>David Tucker</dc:creator>
		<pubDate>Sat, 26 Jan 2008 04:35:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.thecrumb.com/2008/01/25/coldfusion-batch-scripts-for-linux/#comment-617</guid>
		<description>These scripts would work great on a development box, but if you ever deployed this on a develop machine, I would recommend looking at the scripts that were created by Steven Erat.  Just launching CF as a privileged user can create some security issues.

http://www.talkingtree.com/blog/index.cfm/2005/7/15/CFLinuxBootScripts

These scripts are written for a RedHat flavor, but could easily be modified.</description>
		<content:encoded><![CDATA[<p>These scripts would work great on a development box, but if you ever deployed this on a develop machine, I would recommend looking at the scripts that were created by Steven Erat.  Just launching CF as a privileged user can create some security issues.</p>
<p><a href="http://www.talkingtree.com/blog/index.cfm/2005/7/15/CFLinuxBootScripts" rel="nofollow">http://www.talkingtree.com/blog/index.cfm/2005/7/15/CFLinuxBootScripts</a></p>
<p>These scripts are written for a RedHat flavor, but could easily be modified.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

