Skip to content

ecSpl01t/bash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

bash

control-meteor-project

echo 'alias cmp="PathToScript/service.sh"' >> ~/.bashrc


$ cmp -p project-service -c command

project-service

project-service first argument from ./config.sh

("someProject port path_meteor_project path_production")

PROJECTS+=("game_site 3005 /data/meteors/game_site /data/node/production/game_site");

then line will be:

$ cmp -p game_site -c status


If you don't have game_site.service, you need create service, you can make it from this line

cmp -s create-service -a game_site:3005:/data/meteors/game_site

or

cmp -s create-service -a game_site:3005:/data/node/production/game_site

About

bash scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published