summaryrefslogtreecommitdiff
path: root/src/systemd
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-08-22 12:45:55 +0200
committerChristian Poessinger <christian@poessinger.com>2020-08-22 12:45:56 +0200
commitff0bdfbc523ac8dbcb885361f06c6a329ca502cb (patch)
tree3cb58df256a973517545a8c90f84de50c737af7b /src/systemd
parent2be5f188b6eb2b783a366a4d5b0ff3018d121f65 (diff)
downloadvyos-1x-ff0bdfbc523ac8dbcb885361f06c6a329ca502cb.tar.gz
vyos-1x-ff0bdfbc523ac8dbcb885361f06c6a329ca502cb.zip
lcd: T2564: add CLI support
- set system lcd model - set system lcd device
Diffstat (limited to 'src/systemd')
-rw-r--r--src/systemd/LCDd.service11
-rw-r--r--src/systemd/lcdproc.service13
2 files changed, 24 insertions, 0 deletions
diff --git a/src/systemd/LCDd.service b/src/systemd/LCDd.service
new file mode 100644
index 000000000..85cdf561b
--- /dev/null
+++ b/src/systemd/LCDd.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=LCD display daemon
+Documentation=man:LCDd(8) http://www.lcdproc.org/
+After=vyos-router.service
+
+[Service]
+User=root
+ExecStart=/usr/sbin/LCDd -c /run/LCDd/LCDd.conf
+
+[Install]
+WantedBy=multi-user.target
diff --git a/src/systemd/lcdproc.service b/src/systemd/lcdproc.service
new file mode 100644
index 000000000..ef717667a
--- /dev/null
+++ b/src/systemd/lcdproc.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=LCDproc system status information viewer on %I
+Documentation=man:lcdproc(8) http://www.lcdproc.org/
+After=vyos-router.service LCDd.service
+Requires=LCDd.service
+
+[Service]
+User=root
+ExecStart=/usr/bin/lcdproc -f -c /run/lcdproc/lcdproc.conf
+PIDFile=/run/lcdproc/lcdproc.pid
+
+[Install]
+WantedBy=multi-user.target