I wrote a service and placed it at /storage/.config/system.d/autocover.service . I then ran reload , enable , and start for it. However, after rebooting the system, the service remains in an inactive state. Checking its status shows that preset is disabled . Use systemctl start autocover.service,it can work properly.How can I configure it to start automatically at boot?
and post both url. Why pasting image if you can copy/paste text …
And do you have file /storage/.config/system.d/multi-user.target/autocover.service ? It should be symbolic link to /storage/.config/system.d/autocover.service.
ls -l /storage/.config/system.d/multi-user.target/autocover.service
CoreELEC:~ # ls -l /storage/.config/system.d/multi-user.target/autocover.service
ls: /storage/.config/system.d/multi-user.target/autocover.service: No such file or directory
Jun 18 19:24:11 CoreELEC systemd[1]: autocover.service: Found ordering cycle on kodi.service/start
Jun 18 19:24:11 CoreELEC systemd[1]: autocover.service: Found dependency on kodi-autostart.service/start
Jun 18 19:24:11 CoreELEC systemd[1]: autocover.service: Found dependency on graphical.target/start
Jun 18 19:24:11 CoreELEC systemd[1]: autocover.service: Found dependency on multi-user.target/start
Jun 18 19:24:11 CoreELEC systemd[1]: autocover.service: Found dependency on autocover.service/start
Jun 18 19:24:11 CoreELEC systemd[1]: autocover.service: Job kodi.service/start deleted to break ordering cycle starting with autocover.service/start
I think this matters.i tried another version service.system is broken,i will reinstall ce and have try.