diff options
author | Profpatsch <mail@profpatsch.de> | 2017-07-08 19:55:28 +0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2017-07-08 20:33:05 +0200 |
commit | 40ffce35bc9f84b17964ce39d63163f545e3fd74 (patch) | |
tree | 9f39c14bd349ec08a1a65e0ed6d55fd1520dcaf5 | |
parent | 778a3c7f98d54e0bc19cf8768a88bbc9e9a77647 (diff) |
machines/haku: fix warpspeed service
-rw-r--r-- | machines/profpatsch/haku.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/machines/profpatsch/haku.nix b/machines/profpatsch/haku.nix index 5e2f1d2a..901beb44 100644 --- a/machines/profpatsch/haku.nix +++ b/machines/profpatsch/haku.nix @@ -60,8 +60,8 @@ in in { description = "internally served public files (see nginx)"; wantedBy = [ "default.target" ]; - environment = { PORT = toString warpspeedPort; }; - script = "${pkgs.vuizvui.profpatsch.warpspeed}/bin/warpspeed ${user.home}/public"; + serviceConfig.WorkingDirectory = "${user.home}/public"; + script = "${pkgs.vuizvui.profpatsch.warpspeed}/bin/warpspeed ${toString warpspeedPort}"; serviceConfig.User = config.users.users.rtorrent.name; }; |