Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
generateur-slogans
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LQDN Adminsys
generateur-slogans
Commits
129c8bc7
Commit
129c8bc7
authored
Oct 04, 2017
by
okhin
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve the use of pm2
parent
e624d17f
Pipeline
#1318
passed with stage
in 2 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
.gitlab-ci.yml
.gitlab-ci.yml
+0
-1
README.md
README.md
+2
-1
No files found.
.gitlab-ci.yml
View file @
129c8bc7
...
...
@@ -10,6 +10,5 @@ deploy preprod:
-
rsync -ruvC ./ $BASE_PATH
-
cd $BASE_PATH
-
npm install
-
pm2 restart srv.js
only
:
-
master
README.md
View file @
129c8bc7
...
...
@@ -20,6 +20,7 @@ npm install
## Run
We're suggesting the use of pm2 to manage the service
```
sh
sudo
pm2 start srv.js
pm2 start srv.sh
--name
slogan
--watch
```
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