aszlig
60d407b209
nixos/postgresql: Fix execution of initialScript.
...
Regression introduced by b21fd5d066
.
The initialScript is only executed whenever there is a .first-startup in
the dataDir, so silently dropping the file essentially breaks
initialScript functionality.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-10-25 16:05:14 +01:00
Rickard Nilsson
c0a83cbc49
opentsdb nixos module: Add option for defining OpenTSDB's configuration
2015-09-30 18:31:27 +02:00
Bas van Dijk
1f1e02daad
mysql: add nettools to path
...
The mysql_install_db command, called in preStart, needs the hostname command.
2015-09-08 10:32:37 +02:00
Eelco Dolstra
ace332eb36
Set a default value for services.postgresql.package
...
This is finally possible now that we have ‘system.stateVersion’
(allowing the default package to change over time).
2015-07-27 20:30:10 +02:00
danbst
26d5a1fc62
postgresql: add reload command
2015-07-24 01:41:32 +00:00
Charles Strahan
babb744b71
riak: new nixos service
2015-07-21 09:25:41 -04:00
William A. Kennington III
b21fd5d066
nixos/postgresql: Fix initdb for existing, empty postgres partitions
2015-07-02 00:08:02 -07:00
Eelco Dolstra
f667310c06
Use mkAfter for services.postgresql.authentication
...
Authentication methods are tried in order, so if another NixOS module
defines a specific ident mapping like
local hydra all ident map=hydra-users
it should appear before the generic
local all all ident
2015-07-01 13:49:02 +02:00
Eelco Dolstra
c738b309ee
types.uniq types.bool -> types.bool
2015-06-15 18:10:26 +02:00
Rob Vermaas
6d859229e1
Remove unnecessary option. My mistake...
2015-06-10 08:36:55 +00:00
Rob Vermaas
42323dc155
Merge cwoac:mysql_socket
2015-06-10 08:31:12 +00:00
Joachim Schiele
db79335c07
mysql: /run/mysql now 0755 (instead 0700)
...
see https://github.com/NixOS/nixpkgs/pull/7482
2015-05-07 01:51:05 +02:00
Oliver Matthews
0144849f67
Allow allowing local access to mysql socket
2015-04-15 14:35:38 +00:00
William A. Kennington III
8028357084
nixos/mysql: Cleanups
2015-03-31 16:17:55 -07:00
William A. Kennington III
ca149f2be0
nixos/mysql: All versions of mysql have mysqld in /bin
2015-03-29 13:30:05 -07:00
lethalman
b6672f232a
Merge pull request #6283 from mdorman/master
...
Fix initial-install issues with couchdb.nix.
2015-02-26 10:11:18 +01:00
Jaka Hudoklin
1cddb5be20
mongodb: remove lock file on restart
2015-02-23 20:40:13 +01:00
Bjørn Forsman
d5017499a2
nixos/redis: capitalize service description
2015-02-22 16:54:14 +01:00
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
Domen Kožar
9df1bdefef
Merge pull request #5982 from robberer/pkgs/openldap
...
openldap: add dataDir, use cfg.user and cfg.group to run slapd
2015-01-26 10:33:57 +01:00
Domen Kožar
c1ce67561d
openldap: correct directory hint
2015-01-26 10:03:25 +01:00
Longrin Wischnewski
a4af32eec3
openldap: add dataDir, use cfg.user and cfg.group to run slapd
2015-01-26 09:35:56 +01:00
Domen Kožar
2daba83828
openldap: add example config
2015-01-25 21:15:29 +01:00
j-keck
3ced0d94ac
doc: use postgresql94
...
update postgresql module doc to use postgresql94 (was postgresql93)
2015-01-07 13:21:18 +01:00
Oliver Charles
ac616e17b3
opentsdb: Enable chunked API requests by default
2014-11-24 14:40:48 +00:00
Oliver Charles
ced9e83732
OpenTSDB should create its schema on start up
2014-11-24 14:40:48 +00:00
Oliver Charles
5c670c81d5
hbase should use dataDir to specify where to store data
2014-11-24 14:40:48 +00:00
Oliver Charles
751a2943f4
opentsdb: Upgrade to 2.1.0-RC1
2014-11-24 14:40:47 +00:00
Oliver Charles
764cca613d
opentsdb: New package and NixOS module
2014-11-24 14:40:47 +00:00
Oliver Charles
8964667bcd
hbase: New package and NixOS module
2014-11-24 14:40:47 +00:00
Evgeny Egorochkin
599394162c
update obsolete startOn values
2014-11-16 17:04:54 +02:00
Jaka Hudoklin
988ed87e70
nixos/neo4j: add package option
2014-10-18 13:18:37 +02:00
Tino Breddin
eb7bbb4862
postgresql: use configured port when invoking psql
2014-09-27 14:37:11 +02:00
Jaka Hudoklin
996da030b6
nixos/mongodb: service fixes
...
- Log to syslog, so journal picks-up logs
- Start as foring service, so systemd will wait for service to start
- Add extraConfig option
2014-09-16 10:28:04 +02:00
Jaka Hudoklin
74122464da
nixos/influxdb: wait for start
2014-09-13 02:19:39 +02:00
Eelco Dolstra
41788255ab
Manual: Start of module-specific documentation
2014-08-27 12:24:44 +02:00
Jaka Hudoklin
84ea03fa3f
nixos: add neo4j database module
2014-08-23 13:11:09 +04:00
Bjørn Forsman
a4cf5e903b
nixos/redis: fix evaluation
...
Commit 89fee1006c
("nixos/redis: clean up
option types") broke nixos evaluation:
error: attempt to call something which is not a function but a set, at .../nixpkgs/nixos/modules/services/databases/redis.nix:111:28
Fix it.
Reported by Oliver Charles (thanks!).
2014-07-15 17:05:54 +02:00
Bjørn Forsman
89fee1006c
nixos/redis: clean up option types
...
Some options lack a type and some use the deprecated "string" type. Fix
it.
2014-07-15 15:45:52 +02:00
Marc Weber
672adc126e
nixos: add 'firebird' group
...
The firebird module complains without missing 'firebird' group, add it.
2014-07-08 00:00:33 +02:00
Shea Levy
b3cfb9084b
Get all lib functions from lib, not pkgs.lib, in modules
2014-07-02 12:28:18 -04:00
Michael Raskin
02266194ea
Merge pull request #2894 from kirelagin/fixusergroup
...
Fix conditional handling of users and groups in some services
2014-06-30 10:16:20 +04:00
Bjørn Forsman
4def9a762f
nixos: add some missing '.' in option descriptions
2014-06-24 21:25:11 +02:00
Kirill Elagin
f81434bdfe
Fix trying to add users to non-existent groups
2014-06-11 13:36:15 +04:00
Rok Garbas
cc160a196a
couchdb service: adding customizable config file which is writable by couchdb
2014-06-06 15:30:58 +01:00
Jaka Hudoklin
66456c0798
nixos: add influxdb module
2014-05-27 22:56:36 +02:00
Shea Levy
26d03000c2
Actually use services.mysql.port
...
Fixes #1315
2014-04-30 10:21:29 -04:00
Eelco Dolstra
a142d68b43
Fix some uid/gid attributes to match the actual user/group name
2014-04-29 10:51:42 +02:00
Eelco Dolstra
fec3bc85a6
postgresql: Use systemd's new "mixed" kill mode
...
"Mixed" mode sends the initial SIGINT only to the main process, but
sends the SIGKILL after the time-out expires to the entire cgroup.
2014-04-18 17:32:24 +02:00
Eelco Dolstra
29027fd1e1
Rewrite ‘with pkgs.lib’ -> ‘with lib’
...
Using pkgs.lib on the spine of module evaluation is problematic
because the pkgs argument depends on the result of module
evaluation. To prevent an infinite recursion, pkgs and some of the
modules are evaluated twice, which is inefficient. Using ‘with lib’
prevents this problem.
2014-04-14 16:26:48 +02:00