#!/bin/sh if fuser -s iocK1.log; then echo Another copy of Epics process running already\! exit 1 fi ./k1pslepics k1pslepicsK1.cmd > iocK1.log 2>&1 & echo k1pslepics K1 IOC Server started