diff options
author | Robin Gloster <mail@glob.in> | 2016-01-06 06:50:18 +0000 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2016-01-07 06:39:06 +0000 |
commit | 88292fdf09960e9cb8e3c063a6b95ac4284222ec (patch) | |
tree | 34ff267ed7bacf9fd906b1736476b431e9afe909 /nixos/tests/quake3.nix | |
parent | af50b03f50d88954e98018c7c18c0581928b7165 (diff) |
jobs -> systemd.services
Diffstat (limited to 'nixos/tests/quake3.nix')
-rw-r--r-- | nixos/tests/quake3.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/tests/quake3.nix b/nixos/tests/quake3.nix index c72d94e11a8d0..d42f7471c8320 100644 --- a/nixos/tests/quake3.nix +++ b/nixos/tests/quake3.nix @@ -34,9 +34,9 @@ rec { { server = { config, pkgs, ... }: - { jobs."quake3-server" = - { startOn = "startup"; - exec = + { systemd.services."quake3-server" = + { wantedBy = [ "multi-user.target" ]; + script = "${pkgs.quake3demo}/bin/quake3-server '+set g_gametype 0' " + "'+map q3dm7' '+addbot grunt' '+addbot daemia' 2> /tmp/log"; }; |