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/tcpcrypt.nix | |
parent | af50b03f50d88954e98018c7c18c0581928b7165 (diff) | |
download | nixpkgs-88292fdf09960e9cb8e3c063a6b95ac4284222ec.tar nixpkgs-88292fdf09960e9cb8e3c063a6b95ac4284222ec.tar.gz nixpkgs-88292fdf09960e9cb8e3c063a6b95ac4284222ec.tar.bz2 nixpkgs-88292fdf09960e9cb8e3c063a6b95ac4284222ec.tar.lz nixpkgs-88292fdf09960e9cb8e3c063a6b95ac4284222ec.tar.xz nixpkgs-88292fdf09960e9cb8e3c063a6b95ac4284222ec.tar.zst nixpkgs-88292fdf09960e9cb8e3c063a6b95ac4284222ec.zip |
jobs -> systemd.services
Diffstat (limited to 'nixos/modules/services/networking/tcpcrypt.nix')
-rw-r--r-- | nixos/modules/services/networking/tcpcrypt.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/services/networking/tcpcrypt.nix b/nixos/modules/services/networking/tcpcrypt.nix index fbd581cc4b4..267653abce0 100644 --- a/nixos/modules/services/networking/tcpcrypt.nix +++ b/nixos/modules/services/networking/tcpcrypt.nix @@ -35,11 +35,11 @@ in description = "tcpcrypt daemon user"; }; - jobs.tcpcrypt = { + systemd.services.tcpcrypt = { description = "tcpcrypt"; - wantedBy = ["multi-user.target"]; - after = ["network-interfaces.target"]; + wantedBy = [ "multi-user.target" ]; + after = [ "network-interfaces.target" ]; path = [ pkgs.iptables pkgs.tcpcrypt pkgs.procps ]; @@ -58,7 +58,7 @@ in iptables -t mangle -I POSTROUTING -j nixos-tcpcrypt ''; - exec = "tcpcryptd -x 0x10"; + script = "tcpcryptd -x 0x10"; postStop = '' if [ -f /run/pre-tcpcrypt-ecn-state ]; then |