Unit ardupilot.service has a bad unit file setting

Failed to restart ardupilot.service: Unit ardupilot.service has a bad unit file setting.
See system logs and ‘systemctl status ardupilot.service’ for details.

Hi @iyad.salameh.44,

Welcome to the community forum!

It appears that you need to specify the vehicle you’d like to restart with systemctl command. For example, arducopter or arduplane.

Also, please make sure that you’ve configured the launching options according to this guide.

i found that my problem was that i am using arducopter and trying to start ardupilot.
should be:
$ sudo systemctl restart arducopter

1 Like

Hi @iyad.salameh.44,

Thanks for sharing your solution!