From 2e49828d9ce7a33b4d8061c0d127aa860ce86a5a Mon Sep 17 00:00:00 2001 From: Leroy Hopson Date: Sun, 12 Jul 2015 20:25:54 +1200 Subject: [PATCH] firefox sync-server service: make path to paster executable absolute The systemd service was ignoring ExecStart because the path to the paster executable was not absolute. Because ExecStart was ignored, the service would not start. --- nixos/modules/services/networking/firefox/sync-server.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/firefox/sync-server.nix b/nixos/modules/services/networking/firefox/sync-server.nix index 79f32f3358c..70d2d72ca8b 100644 --- a/nixos/modules/services/networking/firefox/sync-server.nix +++ b/nixos/modules/services/networking/firefox/sync-server.nix @@ -135,7 +135,7 @@ in echo >> ${cfg.privateConfig} "secret = $(head -c 20 /dev/urandom | sha1sum | tr -d ' -')" fi ''; - serviceConfig.ExecStart = "paster serve ${syncServerIni}"; + serviceConfig.ExecStart = "${pkgs.pythonPackages.pasteScript}/bin/paster serve ${syncServerIni}"; }; };