About 540,000 results
Open links in new tab
  1. redhat - How to restart nginx? - Server Fault

    Dec 16, 2010 · what does service nginx restart point to and is it appropriate to reload something when a change is made to init.d/nginx ? My two commands (/etc/init.d/nginx and service nginx) …

  2. How do I restart a Windows service from a script? - Server Fault

    Jun 13, 2009 · I have a batch script that looks like: sc stop myservice sc start myservice it errors out because sc doesn't wait till the service is stopped. How do I restart a service with a script?

  3. Best way to gracefully restart CentOS? - Server Fault

    Aug 15, 2014 · For CentOS 6, there is no better way to restart your server by using anything else than any those commands stated in the original question: shutdown is the most common way …

  4. "reboot" or "shutdown -r now": what restart command is safer?

    Jun 30, 2016 · As stated in the manpages of reboot and shutdown they are "a legacy command available for compatibility only.". However, if you use many different distributions, or …

  5. How to "restart" particular network interface on RHEL?

    In RHEL, instead of using service network restart command, how can i restart a particular network interface, lets say "eth1", with only one command. "Only one command" because that is the …

  6. How do I restart a single website in IIS7+ using commandline?

    38 How do I restart a single website in IIS7+ using commandline only? Same functionality as the circled menu item in the image - but from the commandline. Iisreset does not have any options …

  7. How to start/stop/restart launchd services from the command line?

    28 To restart a service, you can use the launchctl kickstart command, together with the -k option. For example, to restart apache, you can use sudo launchctl kickstart -k …

  8. nginx - How do you restart php-fpm? - Server Fault

    Oct 12, 2010 · Usually, service php5-fpm restart will do fine, on an up-to-date distribution. But somtimes, it fails, telling you restart: Unknown instance: (or such). Now, if you do not like to …

  9. How to properly shutdown or reboot a Unix/Linux server

    What is the correct way to turn off a Unix/Linux server? From my googling, I have learned (hopefully) the following: shutdown: I should use this, with the parameter -h to halt, or the …

  10. How can I schedule a server restart from command line on …

    Jun 13, 2013 · I would like to schedule a one-time server restart, e.g. to finish installing updates early in the morning. How can I do this from the command line on Windows 2012? On …