Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cleaning-portalmec
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Richard Fernando Heise Ferreira
cleaning-portalmec
Commits
e34570a1
Commit
e34570a1
authored
9 years ago
by
Mateus Rambo Strey
Browse files
Options
Downloads
Patches
Plain Diff
change scripts
parent
42d2ecac
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
config/puma.rb
+0
-2
0 additions, 2 deletions
config/puma.rb
portalmec.service
+0
-2
0 additions, 2 deletions
portalmec.service
puma.sh
+1
-1
1 addition, 1 deletion
puma.sh
with
1 addition
and
5 deletions
config/puma.rb
+
0
−
2
View file @
e34570a1
...
@@ -7,8 +7,6 @@ threads 1, 6
...
@@ -7,8 +7,6 @@ threads 1, 6
app_dir
=
File
.
expand_path
(
"../.."
,
__FILE__
)
app_dir
=
File
.
expand_path
(
"../.."
,
__FILE__
)
shared_dir
=
"
#{
app_dir
}
/shared"
shared_dir
=
"
#{
app_dir
}
/shared"
daemonize
# Default to production
# Default to production
rails_env
=
ENV
[
'RAILS_ENV'
]
||
"production"
rails_env
=
ENV
[
'RAILS_ENV'
]
||
"production"
environment
rails_env
environment
rails_env
...
...
This diff is collapsed.
Click to expand it.
portalmec.service
+
0
−
2
View file @
e34570a1
...
@@ -3,10 +3,8 @@ Description=Control puma for portalmec
...
@@ -3,10 +3,8 @@ Description=Control puma for portalmec
After
=
nginx.service
After
=
nginx.service
[Service]
[Service]
Type
=
simple
ExecStart
=
/portalmec/puma.sh start
ExecStart
=
/portalmec/puma.sh start
ExecStop
=
/portalmec/puma.sh stop
ExecStop
=
/portalmec/puma.sh stop
Restart
=
always
[Install]
[Install]
WantedBy
=
multi-user.target
WantedBy
=
multi-user.target
This diff is collapsed.
Click to expand it.
puma.sh
+
1
−
1
View file @
e34570a1
#!/bin/sh
#!/bin/
ba
sh
source
/home/.rvm/scripts/rvm
source
/home/.rvm/scripts/rvm
export
PUMA_APP_DIR
=
/portalmec
export
PUMA_APP_DIR
=
/portalmec
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment