configuration.nix: replace -c by PYTHONUNBUFFERED=1 env var
This commit is contained in:
parent
d3c7886552
commit
7c2d8e806a
1 changed files with 2 additions and 1 deletions
|
@ -24,7 +24,8 @@
|
||||||
|
|
||||||
systemd.services.mixer-mqtt = {
|
systemd.services.mixer-mqtt = {
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = "${pkgs.python3.withPackages (p: with p; [ paho-mqtt mido ])}/bin/python3 -u /root/mixer-rpc/mqtt_client.py 172.23.42.20 172.23.42.25";
|
ExecStart = "${pkgs.python3.withPackages (p: with p; [ paho-mqtt mido ])}/bin/python3 /root/mixer-rpc/mqtt_client.py 172.23.42.20 172.23.42.25";
|
||||||
|
Environment = "PYTHONUNBUFFERED=1";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue