nixpkgs/nixos/modules/services
danbst 50d6e93dc8 nixos/nginx: fixup permissions for Nginx state dir
The commit b0bbacb521 was a bit too fast
It did set executable bit for log files.

Also, it didn't account for other directories in state dir:
```
 # ls -la /var/spool/nginx/
total 32
drwxr-x--- 8 nginx nginx 4096 Dec 26 12:00 .
drwxr-xr-x 4 root  root  4096 Oct 10 20:24 ..
drwx------ 2 root  root  4096 Oct 10 20:24 client_body_temp
drwx------ 2 root  root  4096 Oct 10 20:24 fastcgi_temp
drwxr-x--- 2 nginx nginx 4096 Dec 26 12:00 logs
drwx------ 2 root  root  4096 Oct 10 20:24 proxy_temp
drwx------ 2 root  root  4096 Oct 10 20:24 scgi_temp
drwx------ 2 root  root  4096 Oct 10 20:24 uwsgi_temp
```

With proposed change, only ownership is changed for state files, and mode is left as is
except that statedir/logs is now group accessible.
2019-12-26 14:16:29 +02:00
..
admin nixos/oxidized: specify PID file in service 2019-12-12 23:19:07 +01:00
amqp nixos/rabbitmq: use a literalExample for example configItems 2019-10-18 12:36:16 +00:00
audio nixos/treewide: Move rename.nix imports to their respective modules 2019-12-10 02:51:19 +01:00
backup nixos/borgbackup: install job wrappers to systemPackages for easy borg access 2019-12-26 07:50:03 +02:00
cluster nixos/treewide: Move rename.nix imports to their respective modules 2019-12-10 02:51:19 +01:00
computing nixos/slurm: add option for external slurmdbd.conf 2019-11-10 21:28:09 +01:00
continuous-integration treewide: Switch to system users (#71055) 2019-11-01 13:26:43 +01:00
databases postgresql: Quote role names when creating database users 2019-12-13 14:10:18 -06:00
desktops nixos/pantheon: move contractor module into xservice 2019-12-20 09:26:35 -05:00
development lorri: add git to daemon path 2019-12-16 10:09:59 +01:00
editors treewide: Switch to system users 2019-10-12 22:25:28 +02:00
games nixos/openarena: fix service's binary name 2019-11-24 16:55:20 +01:00
hardware udev: fix option description 2019-12-25 20:51:01 +00:00
logging nixos/awstats: refactor module 2019-12-24 12:20:52 -05:00
mail nixos/treewide: Move rename.nix imports to their respective modules 2019-12-10 02:51:19 +01:00
misc nixos/ethminer: always restart 2019-12-25 10:33:50 -05:00
monitoring nixos/treewide: Move rename.nix imports to their respective modules 2019-12-10 02:51:19 +01:00
network-filesystems nixos/treewide: Move rename.nix imports to their respective modules 2019-12-10 02:51:19 +01:00
networking Merge pull request #75103 from sternenseemann/spacecookie 2019-12-23 11:09:52 +01:00
printing nixos/treewide: Move rename.nix imports to their respective modules 2019-12-10 02:51:19 +01:00
scheduling treewide: Switch to system users 2019-10-12 22:25:28 +02:00
search
security nixos/treewide: Move rename.nix imports to their respective modules 2019-12-10 02:51:19 +01:00
system
torrent nixos/transmission: don't use types.str 2019-12-09 23:31:38 -05:00
ttys
web-apps Merge pull request #74763 from nek0/restya-board-config-fix 2019-12-23 07:42:37 -05:00
web-servers nixos/nginx: fixup permissions for Nginx state dir 2019-12-26 14:16:29 +02:00
x11 Merge pull request #76160 from worldofpeace/mate-settings-daemon/fixup 2019-12-23 08:53:10 -05:00