Koozali.org: home of the SME Server

service httpd restart on SME 7b4

Offline fixit

  • *
  • 216
  • +0/-0
    • http://www.fixitcomputers.com.au
service httpd restart on SME 7b4
« on: September 27, 2005, 03:19:59 AM »
how do i restart a service on sme 7b4, such as

service httpd restart, which is used on 6

how do i restart a service in 7

I need to expand the custom-templates

Thanks, Russell
.........

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: service httpd restart on SME 7b4
« Reply #1 on: September 27, 2005, 03:23:12 AM »
Quote from: "fixit"
how do i restart a service on sme 7b4, such as

service httpd restart, which is used on 6


No, it's long been deprecated, and if it works on 6 you are very lucky.

Quote

how do i restart a service in 7


The same way as every other version - cd to /etc/rc7.d, then do:

./SnnNAME restart

For any supervised service, you could also do:

cd /service/NAME
runsvctrl t .

For the apache web server, NAME is httpd-e-smith.