about summary refs log tree commit diff
path: root/modules/services/ttys
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2009-11-06 22:19:17 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2009-11-06 22:19:17 +0000
commit83a9bf9a6aaac9fb967c34706e6c62150562a149 (patch)
tree8758f3962904d4510824770ea38b18f34f557139 /modules/services/ttys
parent6b0842ff52e49b907f13d90d52bbb1936f76b3e1 (diff)
downloadnixlib-83a9bf9a6aaac9fb967c34706e6c62150562a149.tar
nixlib-83a9bf9a6aaac9fb967c34706e6c62150562a149.tar.gz
nixlib-83a9bf9a6aaac9fb967c34706e6c62150562a149.tar.bz2
nixlib-83a9bf9a6aaac9fb967c34706e6c62150562a149.tar.lz
nixlib-83a9bf9a6aaac9fb967c34706e6c62150562a149.tar.xz
nixlib-83a9bf9a6aaac9fb967c34706e6c62150562a149.tar.zst
nixlib-83a9bf9a6aaac9fb967c34706e6c62150562a149.zip
* Change all the startOn / stopOn attributes to the Upstart 0.6 syntax
  (e.g., startOn = "started foo" instead of startOn = "foo").

svn path=/nixos/branches/upstart-0.6/; revision=18230
Diffstat (limited to 'modules/services/ttys')
-rw-r--r--modules/services/ttys/gpm.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/services/ttys/gpm.nix b/modules/services/ttys/gpm.nix
index 026ed4a299f5..256fe8d2380a 100644
--- a/modules/services/ttys/gpm.nix
+++ b/modules/services/ttys/gpm.nix
@@ -41,8 +41,7 @@ in
     jobs.gpm =
       { description = "General purpose mouse";
 
-        startOn = "udev";
-        stopOn = "shutdown";
+        startOn = "started udev";
 
         exec = "${pkgs.gpm}/sbin/gpm -m /dev/input/mice -t ${cfg.protocol} -D &>/dev/null";
       };