Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
checkmk-formula
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
salt
checkmk-formula
Commits
ea05c0d3
Commit
ea05c0d3
authored
2 years ago
by
Jan Philipp Timme
Browse files
Options
Downloads
Patches
Plain Diff
Ensure old services are dead
parent
94da9ca6
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
checkmk/debian/init.sls
+28
-0
28 additions, 0 deletions
checkmk/debian/init.sls
with
28 additions
and
0 deletions
checkmk/debian/init.sls
+
28
−
0
View file @
ea05c0d3
...
...
@@ -20,6 +20,34 @@ hsh_checkmk_install_package:
- pkg: hsh_checkmk_purge_xinetd
- file: hsh_checkmk_fetch_package
{# Stop old services to ensure new agent can function #}
hsh_checkmk_stop_old_socket:
service.dead:
- name: check_mk.socket
- require:
- cmd: hsh_checkmk_install_package
hsh_checkmk_stop_old_agent_socket:
service.dead:
- name: check-mk-agent.socket
- require:
- cmd: hsh_checkmk_install_package
hsh_checkmk_stop_old_async_agent:
service.dead:
- name: check-mk-agent-async.service
- require:
- cmd: hsh_checkmk_install_package
hsh_checkmk_stop_old_async_service:
service.dead:
- name: check_mk-async.service
- require:
- cmd: hsh_checkmk_install_package
{# Disable old services, too #}
hsh_checkmk_disable_old_socket:
service.disabled:
- name: check_mk.socket
...
...
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