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/modules/services/networking/ircd-hybrid | |
parent | af50b03f50d88954e98018c7c18c0581928b7165 (diff) |
jobs -> systemd.services
Diffstat (limited to 'nixos/modules/services/networking/ircd-hybrid')
-rw-r--r-- | nixos/modules/services/networking/ircd-hybrid/default.nix | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/nixos/modules/services/networking/ircd-hybrid/default.nix b/nixos/modules/services/networking/ircd-hybrid/default.nix index 2c397f94d230..ede57c5046d3 100644 --- a/nixos/modules/services/networking/ircd-hybrid/default.nix +++ b/nixos/modules/services/networking/ircd-hybrid/default.nix @@ -121,17 +121,11 @@ in users.extraGroups.ircd.gid = config.ids.gids.ircd; - jobs.ircd_hybrid = - { name = "ircd-hybrid"; - - description = "IRCD Hybrid server"; - - startOn = "started networking"; - stopOn = "stopping networking"; - - exec = "${ircdService}/bin/control start"; - }; - + systemd.services."ircd-hybrid" = { + description = "IRCD Hybrid server"; + after = [ "started networking" ]; + wantedBy = [ "multi-user.target" ]; + script = "${ircdService}/bin/control start"; + }; }; - } |