[CentOS-es] systemctl

2016-05-17 Por tema Pablo Leal
Hola buenos días comunidad con saludarlos les quiero pedir ayuda referente
a systemctl.

Quiero crear un servicio para aplicarlo con systemctl pero al crearlo y
ejecutarlo no me resulta me sale este error:

 systemctl start flash
Job for flash.service failed because the control process exited with error
code. See "systemctl status flash.service" and "journalctl -xe" for details.



pongo el codigo que eh creado mas bien son dos el de flash.service y
anope.service

[Unit]
Description = IRC Servicios anope
Requires=basic.target
After=basic.target rescue.service rescue.target network.target
AllowIsolate=yes


[Service]
Type=forking
User=root
ExecStart =/bin/bash /xxx/xxx/servicios/bin/services start
ExecStop =/bin/bash /xxx/xxx/servicios/bin/services stop
ExecReload =/bin/bash /xxx/xxx/servicios/bin/services restart




y el de flash es este:


[Unit]

Id=flash.service
Names=flash.service
Requires=basic.target
Wants=system.slice
WantedBy=multi-user.target
Conflicts=shutdown.target
Before=shutdown.target multi-user.target
After=syslog.target network.target auditd.service systemd-journald.socket
basic.target system.slice
Description=flashweb

[Service]
Type=forking
User=root
ExecStart =/bin/bash /root/flashpolicyd/flashpolicyd.rb --xml
flashpolicy.xml --logfile flashpolicyd.log start
ExecStop =/bin/bash /root/flashpolicyd/flashpolicyd.rb --xml
flashpolicy.xml --logfile flashpolicyd.log stop
ExecReload =/bin/bash /root/flashpolicyd/flashpolicyd.rb --xml
flashpolicy.xml --logfile flashpolicyd.log restart


[Install]
WantedBy = default.target


Si alguien me puede ayudar por favor de antemano muchas gracias
___
CentOS-es mailing list
CentOS-es@centos.org
https://lists.centos.org/mailman/listinfo/centos-es


[CentOS-es] Sistema de inventario gnu

2013-05-07 Por tema Pablo Leal
Hola buenas con saludarlos quisiera pedirles un favor eh buscando y no eh
encontrado nada

ando en busca de un sistema de control de inventario me encontrado con GLPI
lo eh montado el sistema es muy bueno pero es solamente para un control de
inventario de computadores impresoras etc

Yo ando en busca de un sistema parecido a GLPI pero para mobiliario o que
pueda agregar articulos de oficina como sillas mesas etc

de antemano muchas gracias espero que puedan ayudarme
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] EJECUCION DE SCRIPTS EN EL ARRANQUE

2012-04-17 Por tema Pablo Leal
si no me equivoco tenes que cambiar el nombre del archivo y dejarlo
simplemente firewall

y luego

chkconfig --levels 235 firewall on
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es