#!/bin/bash
#==============================================================
#
#  Abs: Controls tmux sessions for LCLS-2 pattern server with launch scripts
#
#  Name: pattServerStart
#   $1 :  SYS argument for pattern server
#   $2 :  UNIT argument for pattern server
#   $3 :  IOC argument for pattern server
#
# ------------------------------------------------------------
# This script restarts the pattern server for the given system
# and is designed to be run from the associated system's timing expert pannel.
# ------------------------------------------------------------
#
#  Facility:  SLAC
#
#  Auth: 27-Feb-2024, R. McClanahan (rpm)
#
#==============================================================
echo "launcher"
cd $TOOLS/script && source ./use_pydm.sh

which python
tools=$TOOLS/script/TpgScripts/tools
echo $(python --version)

cd $TOOLS/script/TpgScripts/linac_buff && python linac_buff_config.py
