Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: fixit on September 27, 2005, 03:19:59 AM

Title: service httpd restart on SME 7b4
Post by: fixit 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
Title: Re: service httpd restart on SME 7b4
Post by: CharlieBrady 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.