* 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";
|
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 =
|
environment =
|
||||||
{ PATH = concatStringsSep ":" (
|
{ PATH = concatStringsSep ":" (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user