Skip to content

LyonsLab/Teabag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Teabag - CoGe's Utility Belt

Teabag is a bash script that manages required services for GreenTea.

Dependencies

Teabag has a couple dependencies:

  • pgrep - a process grep program
  • pkill - a process killer program

Installation

  1. mv <the teabag script> /usr/local/bin/teabag
  2. sudo chmod 755 teabag

Configuration

Open the teabag script in your favorite text editor and change these configuration settings located at the top of the file:

##################################
#     Configuration Settings     #
##################################
GREENTEA_DIR='&lt;Greentea's Root Path&gt;'
GREENTEA_LOG_FILE='$GREENTEA_DIR/logs/error.log'
URL='geco.iplantc.org/analytics'
FONT='invita'

Usage

To start up all the currently configured processes:

  • teabag

To start specific processes:

  • teabag infuse <process>

To check which processes Teabag is currently configured for:

  • teabag processes

To check the status of all currently configured proccesses:

  • teabag status

To kill all running processes:

  • teabag kill

To kill specific processes:

  • teabag kill <process>

To list all usable commands:

  • teabag usage

To restart the apache server alone:

  • teabag apache

For help with any commands:

  • teabag help <command>

About

CoGe's Utility Belt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages