configuration.nix: replace -c by PYTHONUNBUFFERED=1 env var

This commit is contained in:
coon 2025-09-30 19:17:54 +00:00
parent d3c7886552
commit 7c2d8e806a

View file

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