When I run the service command I used in the past with the Edison this is the error I get (this works without any changes in an Edison model):
[[0;1;32mâ—[[0m bluetooth-pair.service - Bluetooth pair
Loaded: loaded (/lib/systemd/system/bluetooth-pair.service; enabled; vendor p
reset: enabled)
Active: [[0;1;32mactive (exited)[[0m since Fri 2016-08-12 11:43:47 UTC; 27min
ago
Process: 586 ExecStart=/home/root/bluetooth_pair/bluetooth-pair.sh (code=exite
d, status=0/SUCCESS)
Main PID: 586 (code=exited, status=0/SUCCESS)
CGroup: /system.slice/bluetooth-pair.service
Aug 12 11:43:47 intel-corei7-64 systemd[1]: Started Bluetooth pair.
Aug 12 11:43:58 intel-corei7-64 bluetooth-pair.sh[586]: Traceback (most recent c
all last):
Aug 12 11:43:58 intel-corei7-64 bluetooth-pair.sh[586]: File "/home/root/bluet
ooth_pair/./simple-agent1", line 7, in <module>
Aug 12 11:43:58 intel-corei7-64 bluetooth-pair.sh[586]: import dbus
Aug 12 11:43:58 intel-corei7-64 bluetooth-pair.sh[586]: ImportError: No module n
amed dbus