client: Add ambd restart signal handler
[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=/bin/bash -c "/usr/bin/can_init.sh vcan"
14 ExecStart=/usr/bin/ambd -c /etc/ambd/config
15 ExecStartPost=/usr/bin/dbus-send --type=signal --system /Org/Automotive/Manager org.automotive.Manager.Restart
16 Restart=always
17 RestartSec=0
18
19 [Install]
20 WantedBy=multi-user.target
21
22