basti <mailingl...@unix-solution.de> wrote: > I have some errors with systemd and php5-fpm. > I want to create a dir /var/run/php5-fpm where I can place my sockets.
Why a separate directory? What do you want to achieve? > In systemd there is a bit different. > I try ExecStartPre=/bin/mkdir ... but always get errors that the socket > cant be created. (No such file and directory) /var/run/php5-fpm is not > created. Any logs? What is the output of "journalctl -u php5-fpm.service"? > Now i try to use the ExecStartPre=/usr/lib/php5/php5-fpm-checkconf and > put my mkdir in there but it seems that this script isn't also working. That is not wise, as that script gets overwritten on every package update. Grüße, Sven. -- Sigmentation fault. Core dumped.