Skip to content
Snippets Groups Projects
phoebus.j2 376 B
Newer Older
#!/usr/bin/env bash

PHOEBUS_OPTS="{{ phoebus_options }}"
PHOEBUS_JAR={{ phoebus_home }}/product-{{ phoebus_version }}.jar

if [[ -d /opt/conda/envs/csstudio/bin ]]
then
  source /opt/conda/etc/profile.d/conda.sh
  conda activate csstudio
fi

{{ java_openjdk_bin }} $JAVA_ARGS $JAVA_OPTS -jar $PHOEBUS_JAR $PHOEBUS_OPTS -resource %f -settings "{{ phoebus_settings_path }}" $@