On Di, 30.10.18 11:34, deepan muthusamy (deepan.m2...@gmail.com) 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@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to