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.
This commit is contained in:
Leroy Hopson 2015-07-12 20:25:54 +12:00
parent 452745d5ab
commit 2e49828d9c

View File

@ -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}";
};
};