Created
September 30, 2010 19:46
-
-
Save andreacfm/605191 to your computer and use it in GitHub Desktop.
Ant target to restart a railo server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<target name="restartRailo" description="Restarts the Railo server."> | |
<get | |
src="http://${server.name}:${server.port}/server/railo_restart.cfm?admin_password=${admin.password}" | |
dest="${www}/server/temp/restart_output.txt"/> | |
<loadfile property="restart.status" srcFile="${www}/server/temp/restart_output.txt"/> | |
<echo message="Restart status: ${restart.status}"/> | |
<delete file="${www}/server/temp/restart_output.txt"/> | |
</target> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment