phpfpm service: fix formatting of example

This commit is contained in:
Leroy Hopson 2015-07-04 18:51:38 +12:00
parent eb90705d45
commit 25fd9e31a2

View File

@ -52,8 +52,8 @@ in {
poolConfigs = mkOption {
type = types.attrsOf types.lines;
default = {};
example = {
mypool = ''
example = literalExample ''
{ mypool = '''
listen = /run/phpfpm/mypool
user = nobody
pm = dynamic
@ -62,8 +62,9 @@ in {
pm.min_spare_servers = 5
pm.max_spare_servers = 20
pm.max_requests = 500
''';
}
'';
};
description = ''
A mapping between PHP FPM pool names and their configurations.
See the documentation on <literal>php-fpm.conf</literal> for