Realtime analysis is installed as set of MacOS Launchd job definition files and their corresponding shell scripts.
The specific configuration for each job (file locations, networking, credentials, names) is defined in a populated seaflow-realtime.conf
.
local.seaflow-realtime-job.plist
(launchd)seaflow-realtime-job
(shell)
local.seaflow-realtime-mount.plist
(launchd)seaflow-realtime-mount
(shell)
local.seaflow-realtime-ssh-reverse-tunnel.plist
(launchd)seaflow-realtime-ssh-reverse-tunnel
(shell)
local.seaflow-realtime-sync.plist
(launchd)seaflow-realtime-sync
(shell)
Copy *.plist
files to ~/LibraryLaunchAgents
and load them.
cp *.plist ~/Library/LaunchAgents
launchctl load ~/Library/LaunchAgents/local.seaflow-realtime-job.plist
launchctl load ~/Library/LaunchAgents/local.seaflow-realtime-mount.plist
launchctl load ~/Library/LaunchAgents/local.seaflow-realtime-ssh-reverse-tunnel.plist
launchctl load ~/Library/LaunchAgents/local.seaflow-realtime-sync.plist
This also applies to any other launchd job
launchctl stop ~/Library/LaunchAgents/local.seaflow-realtime-job.plist
# changes filter or gating ...
launchctl start ~/Library/LaunchAgents/local.seaflow-realtime-job.plist
If a plist
file is modified, the job must be unloaded then loaded to make the change take effect.
launchctl unload ~/Library/LaunchAgents/local.seaflow-realtime-job.plist
# changes filter or gating ...
launchctl load ~/Library/LaunchAgents/local.seaflow-realtime-job.plist