nixpkgs/nixos/modules/services
Austin Seipp 2a22554092 nixos/cockroachdb: simplify dataDir management, tweaks
This cleans up the CockroachDB expression, with a few suggestions from
@aszlig.

However, it brought up the note of using systemd's StateDirectory=
directive, which is a nice feature for managing long-term data files,
especially for UID/GID assigned services. However, it can only manage
directories under /var/lib (for global services), so it has to introduce
a special path to make use of it at all in the case someone wants a path
at a different root.

While the dataDir directive at the NixOS level is _occasionally_ useful,
I've gone ahead and removed it for now, as this expression is so new,
and it makes the expression cleaner, while other kinks can be worked out
and people can test drive it.

CockroachDB's dataDir directive, instead, has been replaced with
systemd's StateDirectory management to place the data under
/var/lib/cockroachdb for all uses.

There's an included RequiresMountsFor= clause like usual though, so if
people want dependencies for any kind of mounted device at boot
time/before database startup, it's easy to specify using their own
mount/filesystems clause.

This can also be reverted if necessary, but, we can see if anyone ever
actually wants that later on before doing it -- it's a backwards
compatible change, anyway.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-12-04 19:44:16 -06:00
..
admin salt: Restart on config changes 2018-10-15 19:59:25 -07:00
amqp rabbitmq module: Update documentation after proofreading 2018-11-03 19:19:04 +01:00
audio nixos/mpd: allow storage plugins in musicDirectory 2018-08-03 21:36:38 +02:00
backup nixos/borgbackup: allow paths to be empty or relative (#51275) 2018-11-30 17:37:50 +01:00
cluster nixos/kubernetes: allow to disable clusterCidr 2018-11-26 16:36:30 +01:00
computing nixos/slurm: add maintainer to module and test 2018-10-30 19:50:52 +01:00
continuous-integration nixos/jenkins-job-builder: add accessTokenFile option 2018-12-03 17:07:29 +01:00
databases nixos/cockroachdb: simplify dataDir management, tweaks 2018-12-04 19:44:16 -06:00
desktops Merge pull request #41887 from gmarmstrong/fix/seahorse-update 2018-11-21 15:15:32 -06:00
development nixos/jupyter: wait for network.target 2018-11-06 20:40:20 +01:00
editors Treewide: use HTTPS on GNU domains 2018-12-02 15:51:59 +01:00
games nixos/minetest fix: add missing uid/gid for minetest 2018-11-11 12:47:09 +01:00
hardware nixos/upower: lockdown service using upstream settings 2018-10-29 08:09:52 -05:00
logging journaldriver: 1.0.0 -> 1.1.0 (#48106) 2018-10-09 23:45:43 +02:00
mail roundcube: apply code review suggestions 2018-11-28 18:53:37 +01:00
misc Merge pull request #48423 from charles-dyfis-net/bees 2018-12-02 18:38:47 +01:00
monitoring Merge pull request #51001 from c0bw3b/cleanup/more-https 2018-11-25 16:22:34 +01:00
network-filesystems Merge pull request #49736 from nh2/glusterfs-service-simple-unit-no-forking 2018-11-14 12:35:57 +01:00
networking nixos/chrony: fix misplaced ConditionCapability= directive 2018-12-02 20:32:47 -06:00
printing cups-googlecloudprint: init at 20160502 2018-10-11 09:19:58 +01:00
scheduling nixos/modules: users.(extraUsers|extraGroup->users|group) 2018-06-30 03:02:58 +02:00
search elk: 6.3.2 -> 6.5.1 2018-12-01 12:47:12 +01:00
security nixos/tor: add HiddenServiceVersion option 2018-11-23 20:53:02 +00:00
system treewide: systemd timeout arguments to use infinity instead of 0 (#50934) 2018-11-25 13:33:22 +01:00
torrent nixos/transmission: fix AppArmor profile to include keyutils 2018-08-31 17:19:29 +02:00
ttys nixos/kmscon: Add autologin option 2018-09-29 21:55:14 +02:00
web-apps selfoss (service): fix port in service config (#50411) 2018-11-15 19:22:20 +00:00
web-servers mediawiki: 1.29.1 -> 1.31.1 2018-12-03 21:04:08 +00:00
x11 nixos/urxvtd: remove socket activation 2018-11-25 15:25:19 -05:00