1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00
nixpkgs/nixos/modules/services
Michael Alan Dorman f21cab27a4 Fix initial-install issues with couchdb.nix.
When starting from a clean slate, the couchdb service fails.

First, the pre-start script fails because it tries to chown the uriFile,
which doesn't exist.  It also doesn't ensure that the directory in which
the uriFIle is placed is writeable by couchdb, which could also cause
failure (though I didn't observe this).

Additionally, the log file's default location isn't a directory owned by
couchdb, nor is the file guaranteed to exist, nor is it guaranteed to be
chowned to the appropriate user.  All of which can cause unexpected
failure.

As a bonus I made a small change in the description of the configFile
attribute, in the hopes of making it a little more obvious why it
existed.
2015-02-11 20:42:52 -05:00
..
amqp nixos/rabbitmq: fix module 2015-01-26 02:09:04 +01:00
audio Add PermissionsStartOnly to mpd service. Closes #6277 2015-02-10 10:18:54 +01:00
backup Almir module: set a working default sqlalchemy_engine_url 2014-11-30 13:11:55 +01:00
cluster panamax: simplify, refactor, add test 2015-02-07 15:32:20 +01:00
computing/torque Merge recent master into staging 2014-09-13 21:48:29 +02:00
continuous-integration/jenkins Merge recent master into staging 2014-09-13 21:48:29 +02:00
databases Fix initial-install issues with couchdb.nix. 2015-02-11 20:42:52 -05:00
desktops profile-sync-daemon: refactor module 2014-12-14 00:45:08 -05:00
games Fix some uid/gid attributes to match the actual user/group name 2014-04-29 10:51:42 +02:00
hardware Add freefall NixOS service module 2015-01-28 15:59:21 +01:00
logging Revert "Revert "syslog-ng: Update from 3.5.6 to 3.6.1"" 2014-11-06 21:59:04 +01:00
mail nixos/dovecot: added configFile option and default Restart on-failure, PR #5845 2015-01-19 11:05:56 +01:00
misc Merge pull request #6229 from devhell/canto 2015-02-10 10:34:11 +01:00
monitoring Merge branch 'master' of github.com:nixos/nixpkgs into pleasant-ruby 2015-01-20 20:21:03 -05:00
network-filesystems nixos/samba: cleanup and update defaults 2015-02-04 22:31:50 +03:00
networking Merge pull request #6170 from k0ral/sslh 2015-02-10 11:17:56 +01:00
printing Create a nixos module for cups-browsed 2015-01-16 14:10:57 +01:00
scheduling cron: make into systemd.service and make it depend on /etc/localtime 2014-12-15 14:50:12 +01:00
search java: More default cleanups 2015-01-07 14:55:41 -08:00
security nixos/fprintd: add service and pam support 2015-01-03 19:50:40 +03:00
system Added the cloud-init service 2014-12-03 13:22:13 +01:00
torrent nixos/peerflix: fix enable option description 2014-12-03 15:13:50 +01:00
ttys Make console-getty only used inside container by default 2014-09-02 01:36:10 +04:00
web-servers uwsgi: add nixos module 2015-02-02 22:23:42 +03:00
x11 Merge pull request #6072 from AndersonTorres/window-managers 2015-02-10 13:06:06 +01:00