Enable CAN source plugin
[profile/ivi/automotive-message-broker.git] / packaging.in / ambd.service.systemd.tizen
1 #
2 # ambd systemd service unit file
3 #
4
5 [Unit]
6 Description=Automotive Message Broker
7 Wants=bluetooth.service
8
9 [Service]
10 Type=dbus
11 BusName=org.automotive.message.broker
12 Environment=LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so
13 ExecStartPre=/usr/sbin/ip link add dev vcan0 type vcan
14 ExecStartPre=/usr/sbin/ip link set up vcan0
15 ExecStart=/usr/bin/ambd -c /etc/ambd/config
16
17 [Install]
18 WantedBy=multi-user.target
19
20