summary refs log tree commit diff
path: root/modules/system/upstart/upstart.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-10-02 10:32:29 -0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-10-02 10:32:29 -0400
commit2044ae785db87ac7adbd1b0b749f106210213c37 (patch)
tree9c84a977862d6b60d441cff88423e6444f57b869 /modules/system/upstart/upstart.nix
parent793297861726a6c7e589d3ad5d2ab063baaec987 (diff)
downloadnixpkgs-2044ae785db87ac7adbd1b0b749f106210213c37.tar
nixpkgs-2044ae785db87ac7adbd1b0b749f106210213c37.tar.gz
nixpkgs-2044ae785db87ac7adbd1b0b749f106210213c37.tar.bz2
nixpkgs-2044ae785db87ac7adbd1b0b749f106210213c37.tar.lz
nixpkgs-2044ae785db87ac7adbd1b0b749f106210213c37.tar.xz
nixpkgs-2044ae785db87ac7adbd1b0b749f106210213c37.tar.zst
nixpkgs-2044ae785db87ac7adbd1b0b749f106210213c37.zip
Use "wants" instead of "requires"
Diffstat (limited to 'modules/system/upstart/upstart.nix')
-rw-r--r--modules/system/upstart/upstart.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/system/upstart/upstart.nix b/modules/system/upstart/upstart.nix
index 4fbf683c440..d6362a0e4ca 100644
--- a/modules/system/upstart/upstart.nix
+++ b/modules/system/upstart/upstart.nix
@@ -54,7 +54,7 @@ let
         '';
     in {
 
-      inherit (job) description wants before partOf environment path restartIfChanged unitConfig;
+      inherit (job) description requires before partOf environment path restartIfChanged unitConfig;
 
       after =
         (if job.startOn == "stopped udevtrigger" then [ "systemd-udev-settle.service" ] else
@@ -66,9 +66,9 @@ let
          builtins.trace "Warning: job ‘${job.name}’ has unknown startOn value ‘${job.startOn}’." []
         ) ++ job.after;
 
-      requires = 
+      wants = 
         (if job.startOn == "stopped udevtrigger" then [ "systemd-udev-settle.service" ] else []
-        ) ++ job.requires;
+        ) ++ job.wants;
 
       wantedBy =
         (if job.startOn == "" then [] else