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.
commit2e49828d9ce7a33b4d8061c0d127aa860ce86a5a
authorLeroy Hopson <git@leroy.geek.nz>
dateSun 12 Jul 2015, 20:25 (11 years ago)
parent452745d
nixos/modules/services/networking/firefox/sync-server.nix+1−1
@@ -135,7 +135,7 @@ in
135135 echo >> ${cfg.privateConfig} "secret = $(head -c 20 /dev/urandom | sha1sum | tr -d ' -')"
136136 fi
137137 '';
138− serviceConfig.ExecStart = "paster serve ${syncServerIni}";
138+ serviceConfig.ExecStart = "${pkgs.pythonPackages.pasteScript}/bin/paster serve ${syncServerIni}";
139139 };
140140
141141 };