summaryrefslogtreecommitdiff
path: root/src/systemd
diff options
context:
space:
mode:
authorfmertz <fireboxled@gmail.com>2020-06-24 16:25:21 +0000
committerfmertz <fireboxled@gmail.com>2020-07-05 14:57:52 +0000
commitcc95d6f89282c9d66120f2a9b40a9aaff2f981bb (patch)
treea096bf35c5bf618a8dde79bd1a2012881903dc1e /src/systemd
parent380a0d23cee65b6b71560763a34748cba71523e6 (diff)
downloadvyos-1x-cc95d6f89282c9d66120f2a9b40a9aaff2f981bb.tar.gz
vyos-1x-cc95d6f89282c9d66120f2a9b40a9aaff2f981bb.zip
system display: T2564 Extend VyOS to support appliance LCDs
Added support for system LCDs under CLI system display +data/templates/system-display/LCDd.conf.tmpl template for LCDd server configuration file +data/templates/system-display/lcdproc.conf.tmpl template for lcdproc client configuration file +interface-definitions/system-display.xml.in CLI for system display +src/conf_mode/system-display.py processing code for system display +src/systemd/lcdproc.service systemd service definition file for lcdproc client CLI: system display model (SDEC|EZIO) system display config (enabled|disabled) system display show host (cpu|cpu-all|cpu-hist|disk|load-hist|memory|proc|uptime) network interface <intName> alias <alias> units (bps|Bps|pps) clock (big|mini|date-time) title <name> system display duration <s> system display hello <string> system display bye <string>
Diffstat (limited to 'src/systemd')
-rw-r--r--src/systemd/lcdproc.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/systemd/lcdproc.service b/src/systemd/lcdproc.service
new file mode 100644
index 000000000..ea9178de9
--- /dev/null
+++ b/src/systemd/lcdproc.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=LCDproc system status information viewer
+Documentation=man:lcdproc(8) http://www.lcdproc.org/
+
+[Service]
+User=root
+ExecStart=/usr/bin/lcdproc -f -c /etc/lcdproc.conf
+
+[Install]
+WantedBy=multi-user.target \ No newline at end of file