Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new vcell-services script #1052

Merged
merged 2 commits into from
Nov 20, 2023
Merged

new vcell-services script #1052

merged 2 commits into from
Nov 20, 2023

Conversation

jcschaff
Copy link
Member

see #1051 for motivation

vcell-services is a bash script which is installed in ~vcell/.local/bin/vcell-services and is in the path for user vcell.

Currently, the commands are status and restart and works for both rel and alpha sites.

usage: vcell-services [OPTIONS] command site

REQUIRED-ARGUMENTS
command restart | status
restart - restarts all services (takes optional -a | --all option)
status - shows status of all services
site vcell site (e.g. rel or alpha)
rel - must be run on vcellapi.cam.uchc.edu
alpha - must be run on vcellapi-beta.cam.uchc.edu

[OPTIONS]
-a | --all (for restart command) restart messaging and mongodb services as well
-h | --help show this message
-d | --debug print debug information

example:

vcell-services restart rel

@jcschaff jcschaff added the Type: enhancement enhance existing feature label Nov 20, 2023
@jcschaff jcschaff self-assigned this Nov 20, 2023
@jcschaff jcschaff linked an issue Nov 20, 2023 that may be closed by this pull request
@jcschaff jcschaff merged commit e9ac138 into master Nov 20, 2023
12 checks passed
@jcschaff jcschaff deleted the 1051-vcell-services-script branch November 20, 2023 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: enhancement enhance existing feature
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

script for status and restarting VCell services
1 participant