[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Custom Reload command/signal in upstart



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


Reply to: