Koozali.org: home of the SME Server

Manually Switching Off Service

Offline gbentley

  • *****
  • 482
  • +0/-0
  • Forum Lurker
    • Earth
Manually Switching Off Service
« on: May 11, 2004, 11:37:52 PM »
I know there is a contrib for this however
if anyone could comment :-

I want to disable all but the services neccy
for a mail hub. I have read two different
methods although I suspect that they amount to the same thing.

/sbin/e-smith/db configuration setprop lpd status disabled

OR ?

/sbin/e-smith/config setprop lpd status disabled

Here is my redundant service list so far :-

lpd
ldap
atalk
smb
squid
slapd
ippp

Cant seem to deter MySQL (mysqld?)

And, I am leaving Apache on until everything is tested.

If this is generally a bad idea please point me in the right direction :)
"If you don't know what you want, you end up with a lot you don't."

bobk

Manually Switching Off Service
« Reply #1 on: May 12, 2004, 12:15:31 AM »
To disable services from the command line do the following:
Code: [Select]
# /sbin/e-smith/db configuration setprop atalk status disabled
# /sbin/e-smith/signal-event console-save

Replace "atalk" with the name of the service you want to disable. "config" is an alias for "db configuration" and should also work.

To see service status:
Code: [Select]
# /sbin/e-smith/config show atalk Replace "atalk" with the name of the service you want the status of or leave it blank to see the status of all services.