summaryrefslogtreecommitdiffstats
path: root/roles/oso_host_monitoring/templates/oso-f22-host-monitoring.service.j2
diff options
context:
space:
mode:
authorMatt Woodson <mwoodson@redhat.com>2016-01-07 16:08:55 -0500
committerMatt Woodson <mwoodson@redhat.com>2016-01-07 16:08:55 -0500
commiteda483f89b21e216f46d8d19b5cc5bc341e9782c (patch)
tree1a731fd43d73028a87eb30f04c63ed52fb8dc782 /roles/oso_host_monitoring/templates/oso-f22-host-monitoring.service.j2
parent4834968bd9b3bc621ecfc7584c0bc776471475f6 (diff)
downloadopenshift-eda483f89b21e216f46d8d19b5cc5bc341e9782c.tar.gz
openshift-eda483f89b21e216f46d8d19b5cc5bc341e9782c.tar.bz2
openshift-eda483f89b21e216f46d8d19b5cc5bc341e9782c.tar.xz
openshift-eda483f89b21e216f46d8d19b5cc5bc341e9782c.zip
oso_host_monitoring role: removed the f22 and zagg client, replaced it with oso-rhel7-host-monitoring container
Diffstat (limited to 'roles/oso_host_monitoring/templates/oso-f22-host-monitoring.service.j2')
-rw-r--r--roles/oso_host_monitoring/templates/oso-f22-host-monitoring.service.j243
1 files changed, 0 insertions, 43 deletions
diff --git a/roles/oso_host_monitoring/templates/oso-f22-host-monitoring.service.j2 b/roles/oso_host_monitoring/templates/oso-f22-host-monitoring.service.j2
deleted file mode 100644
index d18ad90fe..000000000
--- a/roles/oso_host_monitoring/templates/oso-f22-host-monitoring.service.j2
+++ /dev/null
@@ -1,43 +0,0 @@
-# This is a systemd file to run this docker container under systemd.
-# To make this work:
-# * pull the image (probably from ops docker registry)
-# * place this file in /etc/systemd/system without the .systemd extension
-# * run the commands:
-# systemctl daemon-reload
-# systemctl enable pcp-docker
-# systemctl start pcp-docker
-#
-#
-[Unit]
-Description=PCP Collector Contatainer
-Requires=docker.service
-After=docker.service
-
-
-[Service]
-Type=simple
-TimeoutStartSec=5m
-Environment=HOME=/etc/docker/ops
-#Slice=container-small.slice
-
-# systemd syntax '=-' ignore errors from return codes.
-ExecStartPre=-/usr/bin/docker kill "{{ osohm_host_monitoring }}"
-ExecStartPre=-/usr/bin/docker rm "{{ osohm_host_monitoring }}"
-ExecStartPre=-/usr/bin/docker pull "{{ osohm_docker_registry_url }}{{ osohm_host_monitoring }}"
-
-
-ExecStart=/usr/bin/docker run --rm --name="{{ osohm_host_monitoring }}" \
- --privileged --net=host --pid=host --ipc=host \
- -v /sys:/sys:ro -v /etc/localtime:/etc/localtime:ro \
- -v /var/lib/docker:/var/lib/docker:ro -v /run:/run \
- -v /var/log:/var/log \
- {{ osohm_docker_registry_url }}{{ osohm_host_monitoring }}
-
-ExecReload=-/usr/bin/docker stop "{{ osohm_host_monitoring }}"
-ExecReload=-/usr/bin/docker rm "{{ osohm_host_monitoring }}"
-ExecStop=-/usr/bin/docker stop "{{ osohm_host_monitoring }}"
-Restart=always
-RestartSec=30
-
-[Install]
-WantedBy=default.target