> What precisely is the setting you picked?

I used this setting:

  error_log /dev/stderr warn

But I must admit, I thought that this is the default of the Arch Linux
package. But they use this setting in their nginx-package:

  error_log stderr

Here's their service-unit

  [Unit]
  Description=A high performance web server and a reverse proxy server
  After=network.target
  
  [Service]
  Type=forking
  PIDFile=/run/nginx.pid
  PrivateDevices=yes
  SyslogLevel=err
  
  ExecStart=/usr/bin/nginx -g 'pid /run/nginx.pid; error_log stderr;'
  ExecReload=/usr/bin/kill -HUP $MAINPID
  KillSignal=SIGQUIT
  KillMode=mixed
  
  [Install]
  WantedBy=multi-user.target

I tried that setting in my virtual machine and it worked like a charm:

  error_log stderr warn;

Sorry for the noise. Should have used this setting from the beginning. Thanks a 
lot for the help.

/pp
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to