mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 11:13:30 +00:00
* Start httpd after postgresql since the mediawiki subservice depends
on it. svn path=/nixos/trunk/; revision=30161
This commit is contained in:
parent
07694cab46
commit
71e6f6ecdc
@ -555,7 +555,12 @@ in
|
||||
|
||||
description = "Apache HTTPD";
|
||||
|
||||
startOn = "started ${startingDependency} and filesystem";
|
||||
startOn = "started ${startingDependency} and filesystem"
|
||||
# Hacky. Some subservices depend on Postgres
|
||||
# (e.g. Mediawiki), but they don't have a way to declare
|
||||
# that dependency. So just start httpd after postgresql if
|
||||
# the latter is enabled.
|
||||
+ optionalString config.services.postgresql.enable " and started postgresql";
|
||||
|
||||
environment =
|
||||
{ PATH = concatStringsSep ":" (
|
||||
|
Loading…
Reference in New Issue
Block a user