Skip to content

Instantly share code, notes, and snippets.

@straccers
straccers / monitrc
Created October 5, 2018 10:38
Monit ordered start of all dlib java processes: these are the scripts and changes to /et/monit/monitrc I used to enforce correct stop/start order for activemq tomcat and the two yodl apps on yodlapp3. All shell scripts were collected together into the folder /opt/york/digilib/stop_start_scripts
#!/bin/bash
#ensure tomcat does not start before activemq
#make sure it doesnt start before activemq
ACTIVEMQ=`ps -aux | grep activemq`
echo "ActiveMQ: ${ACTIVEMQ}"
TEST="apache-activemq"
if [[ ${ACTIVEMQ} =~ $TEST ]]
@straccers
straccers / additional_resources_for_fedora_migration
Last active October 31, 2018 12:09
Scripts, batch files, and risearch query examples used to identify and export fedora records during our migration process
This file is a work around to force a meaningful gist name while the naming issue described at https://github.com/isaacs/github/issues/194 remains unresolved