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
eafc0f99
Commit
eafc0f99
authored
3 years ago
by
Jan Philipp Timme
Browse files
Options
Downloads
Patches
Plain Diff
Migrate to systemd socket+service
parent
49c6cf9e
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
checkmk/debian/check_mk.xinetd
+0
-13
0 additions, 13 deletions
checkmk/debian/check_mk.xinetd
checkmk/debian/init.sls
+13
-15
13 additions, 15 deletions
checkmk/debian/init.sls
with
13 additions
and
28 deletions
checkmk/debian/check_mk.xinetd
deleted
100644 → 0
+
0
−
13
View file @
49c6cf9e
service check_mk
{
type = UNLISTED
port = 6556
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/bin/check_mk_agent
only_from = 141.71.3.61 141.71.3.159
disable = no
}
This diff is collapsed.
Click to expand it.
checkmk/debian/init.sls
+
13
−
15
View file @
eafc0f99
hsh_checkmk_
install
_xinetd:
hsh_checkmk_
purge
_xinetd:
pkg.
install
ed:
pkg.
purg
ed:
- name: xinetd
- name: xinetd
hsh_checkmk_fetch_package:
hsh_checkmk_fetch_package:
...
@@ -17,23 +17,21 @@ hsh_checkmk_install_package:
...
@@ -17,23 +17,21 @@ hsh_checkmk_install_package:
- group: root
- group: root
- cwd: /tmp
- cwd: /tmp
- require:
- require:
- pkg: hsh_checkmk_
install
_xinetd
- pkg: hsh_checkmk_
purge
_xinetd
- file: hsh_checkmk_fetch_package
- file: hsh_checkmk_fetch_package
hsh_checkmk_set_config:
hsh_checkmk_enable_socket:
file.managed:
service.running:
- name: /etc/xinetd.d/check_mk
- name: check_mk.socket
- source: salt://checkmk/debian/check_mk.xinetd
- enable: True
- mode: 644
- reload: True
- user: root
- group: root
- require:
- require:
-
cmd
: hsh_checkmk_install_package
-
pkg
: hsh_checkmk_install_package
hsh_checkmk_
reload_xinetd
:
hsh_checkmk_
enable_async_service
:
service.running:
service.running:
- name:
xinetd
- name:
check_mk-async.service
- enable: True
- enable: True
- reload: True
- reload: True
-
watch
:
-
require
:
-
file
: hsh_checkmk_
set_config
-
pkg
: hsh_checkmk_
install_package
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