Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
portalmec
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
10
Issues
10
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
Operations
Operations
Incidents
Environments
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
PortalMEC
portalmec
Commits
300acfc0
Commit
300acfc0
authored
Oct 26, 2015
by
Mateus Rambo Strey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add env_vars to services
parent
629bf199
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
puma.sh
puma.sh
+2
-0
sidekiq.sh
sidekiq.sh
+4
-2
No files found.
puma.sh
View file @
300acfc0
...
...
@@ -3,6 +3,8 @@ source /home/.rvm/scripts/rvm
export
PUMA_APP_DIR
=
/portalmec
source
$PUMA_APP_DIR
/config/env_vars.sh 2>/dev/null
option
=
"
${
1
}
"
case
${
option
}
in
...
...
sidekiq.sh
View file @
300acfc0
...
...
@@ -3,16 +3,18 @@ source /home/.rvm/scripts/rvm
export
PUMA_APP_DIR
=
/portalmec
source
$PUMA_APP_DIR
/config/env_vars.sh 2>/dev/null
option
=
"
${
1
}
"
case
${
option
}
in
start
)
cd
$PUMA_APP_DIR
bundle
exec
sidekiq
exec
bundle
exec
sidekiq
;;
stop
)
cd
$PUMA_APP_DIR
bundle
exec
sidekiqctl shared/pids/sidekiq.pid
bundle
exec
sidekiqctl s
top s
hared/pids/sidekiq.pid
;;
*
)
echo
"
`
basename
${
0
}
`
:usage: [start] | [stop]"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment