diff options
Diffstat (limited to 'jenkins-server-slave-setup/nodes/sgothel-macos64-multi-012/launchd/com.jogamp.launched.update.sh')
-rw-r--r-- | jenkins-server-slave-setup/nodes/sgothel-macos64-multi-012/launchd/com.jogamp.launched.update.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/jenkins-server-slave-setup/nodes/sgothel-macos64-multi-012/launchd/com.jogamp.launched.update.sh b/jenkins-server-slave-setup/nodes/sgothel-macos64-multi-012/launchd/com.jogamp.launched.update.sh new file mode 100644 index 0000000..ca752e6 --- /dev/null +++ b/jenkins-server-slave-setup/nodes/sgothel-macos64-multi-012/launchd/com.jogamp.launched.update.sh @@ -0,0 +1,17 @@ +#! /bin/sh + +mkdir -p ~/Library/LaunchAgents + +launchctl unload -w ~/Library/LaunchAgents/com.jogamp.launched.start-ssh-jenkins-012.plist +#launchctl unload -w ~/Library/LaunchAgents/com.jogamp.launched.start-ssh-jenkins-020.plist +#launchctl unload -w ~/Library/LaunchAgents/com.jogamp.launched.start-ssh-jenkins-021.plist + +sleep 5 +cp com.jogamp.launched.start-ssh-jenkins-012.plist ~/Library/LaunchAgents/ +#cp com.jogamp.launched.start-ssh-jenkins-020.plist ~/Library/LaunchAgents/ +#cp com.jogamp.launched.start-ssh-jenkins-021.plist ~/Library/LaunchAgents/ + +launchctl load -w ~/Library/LaunchAgents/com.jogamp.launched.start-ssh-jenkins-012.plist +#launchctl load -w ~/Library/LaunchAgents/com.jogamp.launched.start-ssh-jenkins-020.plist +#launchctl load -w ~/Library/LaunchAgents/com.jogamp.launched.start-ssh-jenkins-021.plist + |