Exécuter un script PHP comme daemon
J’ai eu récement à réflechir sur comment exécuter de manière permanente un script PHP-CLI ; j’ai pensé à le faire via un service/daemon. Le script de daemonisation #! /bin/sh # Installation # – Move this to /etc/init.d/satisdrive # – chmod +x this # # Starting and stopping # – Start: `service satisdrive start` or `/etc/init.d/satisdrive […]