]> git.proxmox.com Git - pve-docs.git/commitdiff
add qmeventd manpage
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 9 Nov 2018 10:05:42 +0000 (11:05 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 14 Nov 2018 14:24:05 +0000 (15:24 +0100)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Makefile
pve-doc-generator.mk.in
qmeventd.8-synopsis.adoc [new file with mode: 0644]
qmeventd.adoc [new file with mode: 0644]

index 4f8e0d4cea0206dd661265027ff2a5bed96071b7..5d65454d6e03fc93cf17e5111d16c9d0765d61bf 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -41,6 +41,7 @@ GEN_DEB_SOURCES=                              \
        pve-doc-generator.mk                    \
        ${MANUAL_SOURCES}                       \
        pmxcfs.8-synopsis.adoc                  \
        pve-doc-generator.mk                    \
        ${MANUAL_SOURCES}                       \
        pmxcfs.8-synopsis.adoc                  \
+       qmeventd.8-synopsis.adoc                \
        docinfo.xml
 
 GEN_SCRIPTS=                                   \
        docinfo.xml
 
 GEN_SCRIPTS=                                   \
@@ -228,7 +229,7 @@ update-static:
 
 .PHONY: clean-static
 clean-static:
 
 .PHONY: clean-static
 clean-static:
-       find . -regex '.*-\(opts\|synopsis\)\.adoc' -not -name pmxcfs.8-synopsis.adoc -exec rm -f \{\} \;
+       find . -regex '.*-\(opts\|synopsis\)\.adoc' -not -name pmxcfs.8-synopsis.adoc -not name qmeventd.8-synopsis.adoc -exec rm -f \{\} \;
        rm -f api-viewer/apidata.js
        rm -f pve-firewall-macros.adoc pct-network-opts.adoc pct-mountpoint-opts.adoc
 
        rm -f api-viewer/apidata.js
        rm -f pve-firewall-macros.adoc pct-network-opts.adoc pct-mountpoint-opts.adoc
 
index 9ff8eebc09f6d8f9a9e0cbbd4e7cb9f25843faa7..7fc159d507cfb1de64a738674e1f89912e27a55e 100644 (file)
@@ -16,7 +16,7 @@ PVE_COMMON_DOC_SOURCES=                 \
 
 all:
 
 
 all:
 
-attributes.txt docinfo.xml pmxcfs.8-synopsis.adoc:
+attributes.txt docinfo.xml pmxcfs.8-synopsis.adoc qmeventd.8-synopsis.adoc:
        cp ${DGDIR}/$@ $@.tmp
        mv $@.tmp $@
 
        cp ${DGDIR}/$@ $@.tmp
        mv $@.tmp $@
 
diff --git a/qmeventd.8-synopsis.adoc b/qmeventd.8-synopsis.adoc
new file mode 100644 (file)
index 0000000..5733256
--- /dev/null
@@ -0,0 +1,16 @@
+*qmeventd* `[-f]` `[-v]` `PATH`
+
+`-v`:: Turn on verbose messages
+
+`-f`:: Do not daemonize server
+
+`PATH`:: The path to listen on
+
+This service is usually started and managed using systemd toolset. The
+service is called 'qmeventd'.
+
+ systemctl start qmeventd
+
+ systemctl stop qmeventd
+
+ systemctl status qmeventd
diff --git a/qmeventd.adoc b/qmeventd.adoc
new file mode 100644 (file)
index 0000000..4e89e7d
--- /dev/null
@@ -0,0 +1,33 @@
+ifdef::manvolnum[]
+qmeventd(8)
+===========
+:pve-toplevel:
+
+NAME
+----
+
+qmeventd - PVE Qemu Eventd Daemon
+
+SYNOPSIS
+--------
+
+include::qmeventd.8-synopsis.adoc[]
+
+DESCRIPTION
+-----------
+endif::manvolnum[]
+
+ifndef::manvolnum[]
+PVE Qemu Event Daemon
+=====================
+:pve-toplevel:
+endif::manvolnum[]
+
+`qmeventd` is a daemon that listens on PATH for incoming connections from
+a qemu qmp socket, and waits for SHUTDOWN events. When a client then
+disconnects, it executes `/usr/sbin/qm cleanup`. This makes it easy
+to clean up leftover tap devices, vgpus, etc.
+
+ifdef::manvolnum[]
+include::pve-copyright.adoc[]
+endif::manvolnum[]