[snip]
#!/bin/sh

<scriptname> start
(or)
<scriptname> stop
[/snip]

It is a shell script. They are usually placed in /usr/local/bin/ and
chmod'd to execute. To run it you type this at the command line;

scriptname start
(or)
scriptname stop

This script accepts one argument, either 'stop' or 'start'
[/snip]

I should have added that you can run them from other folders using the
'./scriptname arg' from the command line. Depends on OS

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to