From 60127bb7927f93c7ade47ff645347da724004e20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20Ng=E1=BB=8Dc=20T=C3=A0i?= Date: Fri, 12 Mar 2021 18:04:09 +0700 Subject: [PATCH] Create redis_exporter.service --- prometheus/redis_exporter.service | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 prometheus/redis_exporter.service diff --git a/prometheus/redis_exporter.service b/prometheus/redis_exporter.service new file mode 100644 index 0000000..81bd56e --- /dev/null +++ b/prometheus/redis_exporter.service @@ -0,0 +1,16 @@ +[Unit] +Description=Redis Exporter Metrics Monitors +Wants=network-online.target +After=network-online.target + +[Service] + +Type=simple + +User=redis_exporter +Group=redis_exporter + +ExecStart=/etc/redis_exporter/redis_exporter + +[Install] +WantedBy=multi-user.target