bt-service: Disable BT if bluetoothd is terminated
[platform/core/connectivity/bluetooth-frwk.git] / packaging / bluetooth-frwk-tv.service
index c8e953e..f70a1d3 100644 (file)
@@ -1,15 +1,17 @@
 [Unit]
-Description=Bluetooth service
-After=multi-user.target
+Description=Bluetooth framework
+After=bluetooth.service
 
 [Service]
 User=owner
 Group=users
+SupplementaryGroups=priv_mediastorage priv_externalstorage
 Type=dbus
 BusName=org.projectx.bt
+SmackProcessLabel=User
 ExecStart=/usr/bin/bt-service
 KillMode=process
 Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/5001/dbus/user_bus_socket
 
 [Install]
-WantedBy=starter.target
+WantedBy=multi-user.target
\ No newline at end of file