Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
elastalert
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
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
Ansible
Roles
elastalert
Commits
0a9622d7
Commit
0a9622d7
authored
8 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Add readme and improve start script
parent
d6d515c8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.md
+2
-0
2 additions, 0 deletions
README.md
tasks/main.yml
+0
-3
0 additions, 3 deletions
tasks/main.yml
templates/etc_init_d_elastalert
+1
-3
1 addition, 3 deletions
templates/etc_init_d_elastalert
with
3 additions
and
6 deletions
README.md
0 → 100644
+
2
−
0
View file @
0a9622d7
-
GitHub: https://github.com/Yelp/elastalert
-
ReadTheDocs: https://elastalert.readthedocs.io/en/latest/
This diff is collapsed.
Click to expand it.
tasks/main.yml
+
0
−
3
View file @
0a9622d7
# ElastAlert
# https://github.com/Yelp/elastalert
---
# file: roles/elastalert/tasks/main.yml
...
...
This diff is collapsed.
Click to expand it.
templates/etc_init_d_elastalert
+
1
−
3
View file @
0a9622d7
...
...
@@ -18,12 +18,10 @@ case "$1" in
echo
"Starting ElastAlert ..."
cd
/opt/elastalert
/usr/local/bin/elastalert &
exit
0
;;
stop
)
echo
"Stoping ElastAlert ..."
kill
`
pidof /usr/bin/python /usr/local/bin/elastalert
`
&&
echo
"ElastAlert stopped"
exit
0
;;
restart
)
$0
stop
...
...
@@ -35,4 +33,4 @@ case "$1" in
;;
esac
exit
$?
exit
0
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