# SOP Restart Matrix Service ###### tags: `Lale` `Matrix` `Synapse` 1. Set the PATH for LALE ``` export LALE_HOME=/usr/local/lale ``` 2. Set the appropriate PYTHON used by Matrix ``` export PYTHON27=/usr/local/lale/python27 ``` 3. Stop the Matrix and start again ``` cd $LALE_HOME/synapse $PYTHON27/bin/synctl stop sleep 1s $PYTHON27/bin/synctl start ``` 4. Check the Matrix pid ``` ps aux | grep synapse ```