summary refs log tree commit diff
path: root/nixos/modules/services/networking/firefox/sync-server.nix
diff options
context:
space:
mode:
authorLeroy Hopson <git@leroy.geek.nz>2015-07-12 20:25:54 +1200
committerLeroy Hopson <git@leroy.geek.nz>2015-07-12 20:43:52 +1200
commit2e49828d9ce7a33b4d8061c0d127aa860ce86a5a (patch)
tree4627108c9f31ea59e3a39559ce23db668f149fbb /nixos/modules/services/networking/firefox/sync-server.nix
parent452745d5abde81ae295e71b6c67d15e1fd1f8bd3 (diff)
downloadnixlib-2e49828d9ce7a33b4d8061c0d127aa860ce86a5a.tar
nixlib-2e49828d9ce7a33b4d8061c0d127aa860ce86a5a.tar.gz
nixlib-2e49828d9ce7a33b4d8061c0d127aa860ce86a5a.tar.bz2
nixlib-2e49828d9ce7a33b4d8061c0d127aa860ce86a5a.tar.lz
nixlib-2e49828d9ce7a33b4d8061c0d127aa860ce86a5a.tar.xz
nixlib-2e49828d9ce7a33b4d8061c0d127aa860ce86a5a.tar.zst
nixlib-2e49828d9ce7a33b4d8061c0d127aa860ce86a5a.zip
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.
Diffstat (limited to 'nixos/modules/services/networking/firefox/sync-server.nix')
-rw-r--r--nixos/modules/services/networking/firefox/sync-server.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/firefox/sync-server.nix b/nixos/modules/services/networking/firefox/sync-server.nix
index 79f32f3358cb..70d2d72ca8b7 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}";
     };
 
   };