nixpkgs/modules/services
Evgeny Egorochkin 5e32c9c8eb lighttpd: generate a default config file
Instead of forcing users to configure lighttpd manually, make it an
option. The current services.lighttpd.configText option can still be
used for manual configuration, but if it is left blank (default) we'll
use the new generated config file.

The generated config file ensures that the server drops root priveleges
and runs as the "lighttpd" user. It pulls in some new config params that
can be set in configuration.nix (here with default values):

  services.lighttpd.document-root = "/srv/www"
  services.lighttpd.port = 80
  services.lighttpd.extraConfig = ""  # appended to the generated file

And it enables access and error logging to the systemd journal.

Patch contributed by Bjørn Forsman.
2013-05-06 13:51:08 +03:00
..
amqp rabbitmq.nix: Set SYS_PREFIX empty so files live in /var 2013-04-19 10:49:46 -04:00
audio Merge hardware.pulseaudio and services.pulseaudio 2013-03-14 23:33:45 +01:00
backup add almir service 2013-03-27 11:47:28 +01:00
databases Don't set $TZ 2013-04-22 18:56:19 +02:00
games strip trailing whitespace; no functional change 2011-09-14 18:20:50 +00:00
hardware adding sensor option to thinkfan 2013-05-03 03:28:04 +02:00
logging Don't set $TZ 2013-04-22 18:56:19 +02:00
mail Don't set $TZ 2013-04-22 18:56:19 +02:00
misc nix-gc.timer: Fix the start time 2013-03-28 13:35:07 +01:00
monitoring Don't set $TZ 2013-04-22 18:56:19 +02:00
network-filesystems Don't set $TZ 2013-04-22 18:56:19 +02:00
networking Merge pull request #100 from jcumming/hostapd.130224 2013-05-04 01:38:45 -07:00
printing Add/fix systemd unit descriptions 2013-01-10 13:59:41 +01:00
scheduling atd: add "batch" to the list of programs that need a setuid wrapper 2013-04-27 22:42:19 +02:00
security Tor-privoxy: quick and dirty fix for activation under systemd 2013-02-10 20:29:17 +02:00
system Updates for systemd 198/199 2013-03-27 23:03:37 +01:00
torrent Add Transmission BitTorrent service 2013-03-08 16:47:09 +01:00
ttys Rename ‘boot.systemd’ to ‘systemd’ 2013-01-16 12:33:18 +01:00
web-servers lighttpd: generate a default config file 2013-05-06 13:51:08 +03:00
x11 Removing unneded imports for the display-manager. 2013-04-28 00:19:04 +04:00