reopen 398740 thanks also sprach Yaroslav Halchenko <[EMAIL PROTECTED]> [2006.11.15.1442 +0100]: > Also here is an example: > > /etc/init.d/apache-ssl start || echo failure > Starting apache-ssl 1.3 web server.... > > /etc/init.d/apache-ssl start || echo failure > Starting apache-ssl 1.3 web server.... > *> /etc/init.d/apache-ssl stop || echo failure > Stopping apache-ssl 1.3 web server.... > > /etc/init.d/apache-ssl stop || echo failure > Stopping apache-ssl 1.3 web server....
This is ancient stuff. piper:~# /etc/init.d/apache2 start || echo failure #[345] Starting web server (apache2)... . piper:~# /etc/init.d/apache2 start || echo failure #[346] Starting web server (apache2)... httpd (pid 4175) already running. piper:~# /etc/init.d/apache2 stop || echo failure #[346] Stopping web server (apache2)... . piper:~# /etc/init.d/apache2 stop || echo failure #[347] Stopping web server (apache2)... httpd (no pid file) not running. > even if the daemon is running (return 1 from do_start) return of init > script is 0. Yeah, I am only talking about the output. Not the exit status. -- .''`. martin f. krafft <[EMAIL PROTECTED]> : :' : proud Debian developer, author, administrator, and user `. `'` http://people.debian.org/~madduck - http://debiansystem.info `- Debian - when you have better things to do than fixing systems
signature.asc
Description: Digital signature (GPG/PGP)