diff options
author | Leroy Hopson <git@leroy.geek.nz> | 2015-07-04 18:51:38 +1200 |
---|---|---|
committer | Leroy Hopson <git@leroy.geek.nz> | 2016-02-27 22:25:40 +1300 |
commit | 25fd9e31a2bbbc2f907e1cae466fec347fce0f34 (patch) | |
tree | df8edda5f7ca4c3283e856777db1afb32f1f4cb2 /nixos/modules | |
parent | eb90705d456d1bdd64f8e35f07e4acc34d153f5d (diff) | |
download | nixlib-25fd9e31a2bbbc2f907e1cae466fec347fce0f34.tar nixlib-25fd9e31a2bbbc2f907e1cae466fec347fce0f34.tar.gz nixlib-25fd9e31a2bbbc2f907e1cae466fec347fce0f34.tar.bz2 nixlib-25fd9e31a2bbbc2f907e1cae466fec347fce0f34.tar.lz nixlib-25fd9e31a2bbbc2f907e1cae466fec347fce0f34.tar.xz nixlib-25fd9e31a2bbbc2f907e1cae466fec347fce0f34.tar.zst nixlib-25fd9e31a2bbbc2f907e1cae466fec347fce0f34.zip |
phpfpm service: fix formatting of example
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/web-servers/phpfpm.nix | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/nixos/modules/services/web-servers/phpfpm.nix b/nixos/modules/services/web-servers/phpfpm.nix index bdd41ed702b5..1b1f3b8d5d0e 100644 --- a/nixos/modules/services/web-servers/phpfpm.nix +++ b/nixos/modules/services/web-servers/phpfpm.nix @@ -52,18 +52,19 @@ in { poolConfigs = mkOption { type = types.attrsOf types.lines; default = {}; - example = { - mypool = '' - listen = /run/phpfpm/mypool - user = nobody - pm = dynamic - pm.max_children = 75 - pm.start_servers = 10 - pm.min_spare_servers = 5 - pm.max_spare_servers = 20 - pm.max_requests = 500 - ''; - }; + example = literalExample '' + { mypool = ''' + listen = /run/phpfpm/mypool + user = nobody + pm = dynamic + pm.max_children = 75 + pm.start_servers = 10 + 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 |