Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: gbentley on May 11, 2004, 11:37:52 PM

Title: Manually Switching Off Service
Post by: gbentley 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 :)
Title: Manually Switching Off Service
Post by: bobk 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.