Skip to content

Broadlink-mqtt Service script question #105

@hi-flyer

Description

@hi-flyer

I which to start this service script at some undefined time on a ubuntu server (ie no gnome). The Service script indicates a Conflict with getty@tty1 which inturn disables tty1. I really do not understand why but it seems all python service scripts are suggested to do this (yes I understand if both try to get input from tty1,there is a conflict but this program does not require input from the terminal). I am trying to run on on Ubuntu fileserver and do not wish to disable tty1. can I have this service script successfully select a different tty (say tty 6) to run and I assume would need to disable getty@tty6?

I assume there are 2 mods to the service scripts to do this.

  1. Conflicts=getty@tty6.service
  2. ExecStart=/usr/bin/python3 /home/hi-flyer/broadlink-mqtt/mqtt.py <>/dev/tty6

PS been running your program for quite awhile and it works great. Thank you very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions