systemctl start SERVICE
- Use it to start a service. Does not persist after rebootsystemctl stop SERVICE
- Use it to stop a service. Does not persist after rebootsystemctl restart SERVICE
- Use it to restart a servicesystemctl reload SERVICE
- If the service supports it, it will reload the config files related to it without interrupting any process that is using the service.systemctl status SERVICE
- Shows the status of a service. Tells whether a service is currently running.systemctl enable SERVICE
- Turns the service on, on the next reboot or on the next start event. It persists after reboot.systemctl disable SERVICE
- Turns the service off on the next reboot or on the next stop event. It persists after reboot.systemctl is-enabled SERVICE
- Check if a service is currently configured to start or not on the next reboot.systemctl is-active SERVICE
- Check if a service is currently active.systemctl show SERVICE
- Show all the information about the service.description "The PHP 7.0 FastCGI Process Manager"<br>author "Ondřej Surý <ondrej@debian.org>" <br># Los viejos runlevel del chkconfig, de inicio y de detencion<br>start on runlevel [2345]<br>stop on runlevel [016]<br><br># Algun script que se quiera correr previo al proceso principal<br>pre-start exec /usr/lib/php/php7.0-fpm-checkconf<br># Modo de proceso, esto es como el inittab, el respawn es para que el # servicio se levante cada vez que se caiga<br>respawn #Ejecutable con todos los parametros<br>exec /usr/sbin/php-fpm7.0 --nodaemonize --fpm-config /etc/php/7.0/fpm/php-fpm.conf
Please wait... it will take a second!