본문 바로가기

맥(솔라리스)

[솔라리스] 솔라리스 10 에서 svc 제어하기(svccfg)

반응형

솔라리스 10 에서 svc 제어하기(svccfg)

[sangchul.kr(scbyun)::/export/home/scbyun]$ svccfg
svc:> list
...
application/print/rfc1179
application/font/stfsloader
network/rpc/smserver
network/dns/server
network/rpc/ocfserv
application/print/server
...
svc:> select network/dns/server
svc:/network/dns/server> listprop
filesystem_minimal             dependency
filesystem_minimal/entities    fmri     svc:/system/filesystem/minimal
filesystem_minimal/grouping    astring  require_all
filesystem_minimal/restart_on  astring  none
filesystem_minimal/type        astring  service
loopback                       dependency
loopback/entities              fmri     svc:/network/loopback
loopback/grouping              astring  require_any
loopback/restart_on            astring  error
loopback/type                  astring  service
network                        dependency
network/entities               fmri     svc:/milestone/network
network/grouping               astring  optional_all
network/restart_on             astring  error
network/type                   astring  service
general                        framework
general/entity_stability       astring  Unstable
stop                           method
stop/exec                      astring  :kill
stop/timeout_seconds           count    60
stop/type                      astring  method
tm_common_name                 template
tm_man_named                   template
tm_man_named/manpath           astring  /usr/man
tm_man_named/section           astring  1M
tm_man_named/title             astring  named

svc:/network/dns/server> editprop
select svc:/network/dns/server

# Property group "filesystem_minimal"
# delprop filesystem_minimal
# addpg filesystem_minimal dependency
# setprop filesystem_minimal/entities = fmri: (svc:/system/filesystem/minimal)
# setprop filesystem_minimal/grouping = astring: (require_all)
# setprop filesystem_minimal/restart_on = astring: (none)
# setprop filesystem_minimal/type = astring: (service)

# Property group "loopback"
# delprop loopback
# addpg loopback dependency
# setprop loopback/entities = fmri: (svc:/network/loopback)
# setprop loopback/grouping = astring: (require_any)
# setprop loopback/restart_on = astring: (error)
# setprop loopback/type = astring: (service)

# Property group "network"
# delprop network
# addpg network dependency
# setprop network/entities = fmri: (svc:/milestone/network)
# setprop network/grouping = astring: (optional_all)
# setprop network/restart_on = astring: (error)
# setprop network/type = astring: (service)

# Property group "general"
# delprop general
# addpg general framework
# setprop general/entity_stability = astring: (Unstable)

# Property group "stop"
# delprop stop
# addpg stop method
# setprop stop/exec = astring: (:kill)
# setprop stop/timeout_seconds = count: (60)
# setprop stop/type = astring: (method)

# Property group "tm_common_name"
# delprop tm_common_name
# addpg tm_common_name template

# Property group "tm_man_named"
# delprop tm_man_named
# addpg tm_man_named template
# setprop tm_man_named/manpath = astring: (/usr/man)
# setprop tm_man_named/section = astring: (1M)
# setprop tm_man_named/title = astring: (named)

svc:/network/dns/server> select default

svc:/network/dns/server:default> listprop
config_data                   dependency
config_data/entities          fmri     file://localhost/etc/named.conf
config_data/grouping          astring  require_all
config_data/restart_on        astring  none
config_data/type              astring  path
general                       framework
general/action_authorization  astring  solaris.smf.manage.bind
general/value_authorization   astring  solaris.smf.manage.bind
general/enabled               boolean  false
start                         method
start/exec                    astring  /usr/sbin/named
start/group                   astring  root
start/limit_privileges        astring  :default
start/privileges              astring  basic,!proc_session,!proc_info,!file_link_any,net_privaddr,file_dac_read,file_dac_search,sys_resource
start/project                 astring  :default
start/resource_pool           astring  :default
start/supp_groups             astring  :default
start/timeout_seconds         count    60
start/type                    astring  method
start/use_profile             boolean  false
start/user                    astring  root
start/working_directory       astring  :default
restarter                     framework NONPERSISTENT
restarter/auxiliary_state     astring  none
restarter/next_state          astring  none
restarter/state               astring  disabled
restarter/state_timestamp     time     1314504928.813081000

728x90
반응형