Compare commits
2 changed files with 0 additions and 8 deletions
|
|
@ -22,14 +22,6 @@
|
||||||
(python3.withPackages (p: with p; [paho-mqtt mido]))
|
(python3.withPackages (p: with p; [paho-mqtt mido]))
|
||||||
];
|
];
|
||||||
|
|
||||||
systemd.services.mixer-mqtt = {
|
|
||||||
serviceConfig = {
|
|
||||||
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";
|
|
||||||
Restart = "always";
|
|
||||||
RestartSec = 5;
|
|
||||||
Environment = "PYTHONUNBUFFERED=1";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
system.stateVersion = "25.05";
|
system.stateVersion = "25.05";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
0
mqtt_client.py
Executable file → Normal file
0
mqtt_client.py
Executable file → Normal file
Loading…
Reference in a new issue