vzsetxinetd
To switch the service running in a particular Container between an independent and
xinetd
-dependent modes, the
vzsetxinetd
utility is used. It has the following syntax:
vzsetxinetd -h
vzsetxinetd -s
CT_ID
SERVICE
...
vzsetxinetd [-u] [-f]
CT_ID
SERVICE
on|off ...
where
CT_ID
is the ID of the corresponding Container, and
SERVICE
is the corresponding service:
sendmail
,
sshd
,
proftpd
, or
courier-imap
. There may be any number of the
SERVICE
or
SERVICE
on|off
strings in a single invocation of the
vzsetxinetd
utility. With "
on
", the service will be based on
xinetd
; if "
off
" is specified, it will be standalone.
Notes:
1. The
courier-imapd
,
courier-imapds
,
courier-pop3d
, and
courier-pop3ds
services are provided by the
courier-imap
service, thus
vzsetxinetd
can manage these services via the
courier-imap
service.
2. The Parallels HSPcomplete application cannot be used for managing Containers having one or more services configured with the
vzsetxinetd
utility.
Here follows the explanation of available options:
-h
,
--help
|
Prints help on the usage of the utility.
|
-s
,
--state
|
Prints the information on whether the corresponding service is
xinetd
-dependent or standalone.
|
-u
,
--userfiles
|
This option tells the utility to save the previously saved user files related to the service.
|
-f
,
--force
|
This option tells the utility to set the service to the specified mode even in case the service is currently in this mode already.
|
|