I am writing a bash script that will run in every artist workstation do some checks and if the machine can be on the farm then the script will start the slave.
If a user logs in the machine then the slave will stop.
Now we have deadline launcher running as a slave and doing
deadlinelauncher -slave returns that the launcher is already running.
We are using CentOs here. Any suggestions on how to start and stop slaves through a script?