<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style='font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;color:#000000;'>                              <div ><div>Hi,</div><div><br></div><div>I have a cli application that will be opened when remote user log in through ssh.</div><div><br></div><div>Should I create a service file for such application? </div><div><br></div><div>And since CLI requires a controlling terminal, what should I do to set up the unit file? </div><div><br></div><div>Last, how can I use systemd to do resource management for the cli application? </div><div><br></div><div>I know how to do it using a cgroup directly but it seems I have use systemd to operate cgroup as well.</div><div><br></div><div>Thanks for any information! </div><div><br></div><div>Best,</div><div>Robin</div><div><br></div><div><br></div><div><br></div><div></div></div></div><br></body></html>