Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Community Manager
853 Views

service command not found on intel edison

Jump to solution

hello everyone,

i cannot find service command on my intel edison.

when I run 'service' command it shows error like

root@edison:~# service

-sh: service: command not found

is there any similar command for this in yocto ?


Accepted Solutions
Highlighted
Employee
20 Views

Hi,

The service command is not available in the current Edison image. In the Edison, services are found in /lib/system/system. You can enable services, similarly how you'd do it with the service command using systemctl.

Some of the basic systemctl options to check and enable your service are:

systemctl status servicename.service

systemctl start servicename.service

systemctl enable servicename.service

You can see more options of systemctl here http://www.freedesktop.org/software/systemd/man/systemctl.html systemctl

Sergio

View solution in original post

1 Reply
Highlighted
Employee
21 Views

Hi,

The service command is not available in the current Edison image. In the Edison, services are found in /lib/system/system. You can enable services, similarly how you'd do it with the service command using systemctl.

Some of the basic systemctl options to check and enable your service are:

systemctl status servicename.service

systemctl start servicename.service

systemctl enable servicename.service

You can see more options of systemctl here http://www.freedesktop.org/software/systemd/man/systemctl.html systemctl

Sergio

View solution in original post