I m trying to use the set target-state command to run 2 services. Before run the command i already run one service. Inside the set target-state command i have the service that already running plus one more service (this service is stored to images) . The problem is that when i run the set target state command, the first service is running ok and the second is restarted all the time. The container of second service is created, is up for very few seconds(2 or 3 seconds) and then killed. And this happens all over again.
I use balenaOS 2.38.0+rev1 version, 9.15.7 supervisor version. The target-state command is very big to posted here. Maybe its better to send it in a file.
Before set the target-state command i run these services seperately and by getting the target-state i saw the right arguments to use in set state command.