Re: Launch at tty7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Di, 30.10.18 11:34, deepan muthusamy (deepan.m2903@xxxxxxxxx) wrote:

> I have one doubt that, if I launch app1 under tty1 andapp2 at tty7. If I
> add after dependency in app2 for app1( After=app1.service in app2.service).
> will this dependency work?

Why wouldn't it?

> How to launch an application at specific try(like under tty7)?

Use this in your unit file:

…
[Service]
StandardInput=tty
StandardOutput=tty
TTYPath=/dev/tty7
…

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux