User Tools

Site Tools


сервис_xinetd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
сервис_xinetd [2017/05/31 08:13]
val [Настройка]
сервис_xinetd [2017/12/06 09:47]
val [Настройка]
Line 5: Line 5:
 <​code>​ <​code>​
 # apt install xinetd # apt install xinetd
 +
 +# yum install xinetd
  
 # pkg install xinetd # pkg install xinetd
Line 16: Line 18:
 </​code><​code>​ </​code><​code>​
 service www service www
 +#service http-alt
 { {
         # disable = yes         # disable = yes
Line 22: Line 25:
         wait = no         wait = no
         user = root         user = root
-        server = /​usr/​sbin/​chroot +        ​ 
-        server_args = /var/www/ /sbin/webd+#        server = /​usr/​local/​sbin/​webd 
 + 
 +#        ​server = /​usr/​sbin/​chroot 
 +       ​server_args = /var/www/ /sbin/webd 
 + 
 +#        server = /​usr/​bin/​runcon 
 +#        server_args = -t inetd_child_t -r system_r -u system_u /​usr/​local/​sbin/​webd 
 } }
 </​code>​ </​code>​
- 
 ===== Параметры безопасности ==== ===== Параметры безопасности ====
 <​code>​ <​code>​
сервис_xinetd.txt · Last modified: 2020/07/20 07:04 by val