mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-06 18:49:12 +03:00
Enabled startOn event of the MySQL and Tomcat server so that they are initialised on startup
svn path=/nixos/branches/upstart-0.6/; revision=18556
This commit is contained in:
parent
2c8d2c2268
commit
7fc40ca2f1
2 changed files with 3 additions and 3 deletions
|
@ -83,7 +83,7 @@ in
|
||||||
jobs.mysql =
|
jobs.mysql =
|
||||||
{ description = "MySQL server";
|
{ description = "MySQL server";
|
||||||
|
|
||||||
startOn = "started filesystems";
|
startOn = "started network-interfaces";
|
||||||
|
|
||||||
preStart =
|
preStart =
|
||||||
''
|
''
|
||||||
|
|
|
@ -104,7 +104,7 @@ in
|
||||||
jobs.tomcat =
|
jobs.tomcat =
|
||||||
{ description = "Apache Tomcat server";
|
{ description = "Apache Tomcat server";
|
||||||
|
|
||||||
startOn = "started network-interface";
|
startOn = "started network-interfaces";
|
||||||
stopOn = "stopping network-interfaces";
|
stopOn = "stopping network-interfaces";
|
||||||
|
|
||||||
preStart =
|
preStart =
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue