summaryrefslogtreecommitdiff
path: root/src/systemd
diff options
context:
space:
mode:
authorfmertz <fireboxled@gmail.com>2020-07-02 05:08:20 +0000
committerfmertz <fireboxled@gmail.com>2020-07-05 14:57:52 +0000
commit14e0a2339451492e226869cb977ab858bb1e7f17 (patch)
tree2d4f7aea3aab8fd35aace36c560957ad23ba29d7 /src/systemd
parentd4199a17adeac422882013a8951d18b7c3b74f2a (diff)
downloadvyos-1x-14e0a2339451492e226869cb977ab858bb1e7f17.tar.gz
vyos-1x-14e0a2339451492e226869cb977ab858bb1e7f17.zip
system display: T2564: Conf files to /run
* src/conf_mode/system-display.py conf files to /run + src/systemd/LCDd@.service lo - src/systemd/lcdproc.service + src/systemd/lcdproc@.service lo
Diffstat (limited to 'src/systemd')
-rw-r--r--src/systemd/LCDd@.service10
-rw-r--r--src/systemd/lcdproc.service10
-rw-r--r--src/systemd/lcdproc@.service10
3 files changed, 20 insertions, 10 deletions
diff --git a/src/systemd/LCDd@.service b/src/systemd/LCDd@.service
new file mode 100644
index 000000000..a4604cf21
--- /dev/null
+++ b/src/systemd/LCDd@.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=LCD display daemon on %I
+Documentation=man:LCDd(8) http://www.lcdproc.org/
+
+[Service]
+User=root
+ExecStart=/usr/sbin/LCDd -s 1 -f -c /run/LCDd/LCDd.%I.conf
+
+[Install]
+WantedBy=multi-user.target \ No newline at end of file
diff --git a/src/systemd/lcdproc.service b/src/systemd/lcdproc.service
deleted file mode 100644
index ea9178de9..000000000
--- a/src/systemd/lcdproc.service
+++ /dev/null
@@ -1,10 +0,0 @@
-[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
diff --git a/src/systemd/lcdproc@.service b/src/systemd/lcdproc@.service
new file mode 100644
index 000000000..9a1723dba
--- /dev/null
+++ b/src/systemd/lcdproc@.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=LCDproc system status information viewer on %I
+Documentation=man:lcdproc(8) http://www.lcdproc.org/
+
+[Service]
+User=root
+ExecStart=/usr/bin/lcdproc -f -c /run/lcdproc/lcdproc.%I.conf
+
+[Install]
+WantedBy=multi-user.target \ No newline at end of file