Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broadlink-mqtt Service script question #105

Open
hi-flyer opened this issue Mar 18, 2022 · 0 comments
Open

Broadlink-mqtt Service script question #105

hi-flyer opened this issue Mar 18, 2022 · 0 comments

Comments

@hi-flyer
Copy link

hi-flyer commented Mar 18, 2022

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!

@hi-flyer hi-flyer changed the title Broadlink-mqtt Service script Broadlink-mqtt Service script question Mar 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant