See
http://nixos.org/nixos/manual/options.html#opt-systemd.services._name_.path

On Mon, Jan 18, 2016 at 7:35 PM, Taeer Bar-Yam <tb...@cornell.edu> wrote:

> General problem:
>   How do I access command line tools (that are in systemPackages) from
> some systemd.services.<name>.postStart?
> Specific problem:
>   I want that when mopidy starts up, use mpc to select a playlist and turn
> on shuffle. However, I am getting an `mpc: command not found` error. I can
> access mpc normally, just not from this startup script (declared as
> systemd.services.mopidy.postStart = "<call mpc here>")
>
>   --Taeer
> _______________________________________________
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to