Getting lcdproc to work with systemd

lcdproc was starting before /dev/ttyUSB0 was up

  1. cp /usr/lib/systemd/system/lcdd.service /etc/systemd/system/lcdd@.service
  2. Modify lcdd@.service to look like below:
    [Unit]
    Description=LCD display driver
    #After=syslog.target
    BindTo=dev-%i.device
    After=dev-%i.device syslog.target

    [Service]
    Type=forking
    ExecStart=/usr/bin/LCDd -c /etc/LCDd.conf
    #ControlGroup=cpu:/

    [Install]
    WantedBy=multi-user.target

  3. systemctl enable lcdd@ttyUSB0.service
This entry was posted in Uncategorized and tagged , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*