Add pidfile for nginx.

parent 2136e0e2
......@@ -63,6 +63,7 @@ class Recipe(GenericSlapRecipe):
'listen-local-ipv4': self.options['ipv4'],
'listen-global-ipv6': '[%s]' % self.options['ipv6'],
'domain-name': domain_name,
'pidfile': self.options['pid-file'],
'smtp-port-number': self.options['smtp-port'],
'error-log': self.options['error-log'],
'access-log': self.options['access-log'],
......
daemon off;
pid %(pidfile)s;
worker_processes 1;
#XXX-Cedric: TODO separate the different logs
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment