This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM57x Linux SDK 3.01.00.06 systemd issue

Expert 1385 points

HI,

I am on using AM57xx Linux SDK 3.1.6. About the filesystem. the Systemd has replaced the Sys V.

I have known how to add a startup items under systemd mechanism.  But I found some confusing issue

in Ti orignal filesystem.

I know "to startup a service , you must add a foo.service file. and systemctrl enable foo". 

But about the matrix-gui2.0 , tiipclad-daemon  and so on such services. I just found these service file

in :

/run/systemd/generator.late/tiipclad-daemon.service
/run/systemd/generator.late/graphical.target.wants/tiipclad-daemon.service
/run/systemd/generator.late/multi-user.target.wants/tiipclad-daemon.service
/sys/fs/cgroup/devices/system.slice/tiipclad-daemon.service
/sys/fs/cgroup/pids/system.slice/tiipclad-daemon.service
/sys/fs/cgroup/systemd/system.slice/tiipclad-daemon.service

and no .service in other area(eg. /etc/systemd or /lib/systemd/system/). why?

when I cat  the first file,  an infomation "# Automatically generated by systemd-sysv-generator"

in this file content.

 

That is , these is generated by systemd-sysv-generator.

What control the systemd to generate these file,  and how can I set these configuration?

I have ever seen a world " Once systemd look this service no unit. it will to lookup the init.d/ script to match

the service name . if matched, it will  generate the service 's .service file  in /run/systemd/generated.late/."

is right ?

Thank you very much!

Best Regards

Qing