On Fri, May 31, 2013 at 11:44:53PM +0200, Ond??ej Surý wrote:
> cat > php5-fpm.service << EOF
> [Unit]
> Description=The PHP FastCGI Process Manager
> After=syslog.target network.target

Small nitpick here: Specifying syslog.target in an After is completely
unnecessary and counterproductive. At the time of starting you can
simply expect that there is a syslog socket no matter whether the
service is started already. By specifying it here you slow down boot for
no reason. In fact recent versions of systemd no longer provide
syslog.target.

By the way: This is one of the main reasons for why automatically
converting .service files to init scripts is basically impossible.

Helmut


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130601091805.ga7...@alf.mars

Reply via email to