summaryrefslogtreecommitdiffstats
path: root/tools/crm_mon.service.in
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 06:53:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 06:53:20 +0000
commite5a812082ae033afb1eed82c0f2df3d0f6bdc93f (patch)
treea6716c9275b4b413f6c9194798b34b91affb3cc7 /tools/crm_mon.service.in
parentInitial commit. (diff)
downloadpacemaker-e5a812082ae033afb1eed82c0f2df3d0f6bdc93f.tar.xz
pacemaker-e5a812082ae033afb1eed82c0f2df3d0f6bdc93f.zip
Adding upstream version 2.1.6.upstream/2.1.6
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tools/crm_mon.service.in')
-rw-r--r--tools/crm_mon.service.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/crm_mon.service.in b/tools/crm_mon.service.in
new file mode 100644
index 0000000..7ae6649
--- /dev/null
+++ b/tools/crm_mon.service.in
@@ -0,0 +1,17 @@
+[Unit]
+Description=Daemon for pacemaker monitor
+Documentation=man:crm_mon
+After=pacemaker.service
+
+[Service]
+Type=forking
+EnvironmentFile=-@CONFIGDIR@/crm_mon
+ExecStart=@sbindir@/crm_mon $OPTIONS
+Restart=always
+
+# crm_perror() writes directly to stderr, so ignore it here to avoid
+# double-logging with the wrong format
+StandardError=null
+
+[Install]
+WantedBy=multi-user.target