You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ./scripts/restart script (which is a symlink to control.py) currently just does a stop and then a start operation on the entire system.
It would be good if we modified control.py to be able to handle the -s/--service argument like we have for logs, and in that case only restart the one service. So:
./scripts/restartrestarts Malcolm
./scripts/restart -s api restarts just the API container
You can now specify one or more services with the -s/--service flag for the control.py script (e.g., start, stop, restart, logs) and it will apply only to those services. This is intended to be used while malcolm is already running, for example, to restart just a single service.
I tested making a change to a particular .env file in the config directory and then restarting the appropriate service, and verified that the restarted service does in fact get the new environment variables, as well.
The
./scripts/restart
script (which is a symlink tocontrol.py
) currently just does astop
and then astart
operation on the entire system.It would be good if we modified
control.py
to be able to handle the-s
/--service
argument like we have for logs, and in that case only restart the one service. So:./scripts/restart
restarts Malcolm./scripts/restart -s api
restarts just the API containerThis came from this discussion.
The text was updated successfully, but these errors were encountered: