#if "tv"
mkdir -p %{buildroot}%{_libpath}/systemd/system/multi-user.target.wants/
ln -sf bluetooth.service %{buildroot}%{_libpath}/systemd/system/dbus-org.bluez.service
-ln -sf ../bluetooth-frwk.service %{buildroot}%{_libpath}/systemd/system/multi-user.target.wants/bluetooth.service
+ln -sf ../bluetooth.service %{buildroot}%{_libpath}/systemd/system/multi-user.target.wants/bluetooth.service
#endif
mkdir -p %{buildroot}%{upgrade_script_path}
%preun profile_wearable
rm %{_sysconfdir}/bluetooth/main.conf
%files profile_wearable
+%manifest %{name}.manifest
%{_sysconfdir}/bluetooth/main.conf.wearable
%files profile_tv
+%manifest %{name}.manifest
%{_sysconfdir}/bluetooth/main.conf
%{_libpath}/systemd/system/bluetooth.service
%{_libpath}/systemd/system/multi-user.target.wants/bluetooth.service
%{_datadir}/dbus-1/system-services/org.bluez.service
%files profile_common
+%manifest %{name}.manifest
%{_sysconfdir}/bluetooth/main.conf
%changelog
[Unit]
Description=Bluetooth service
Documentation=man:bluetoothd(8)
+DefaultDependencies=no
[Service]
Type=dbus
BusName=org.bluez
ExecStart=/usr/libexec/bluetooth/bluetoothd -d -C
-NotifyAccess=main
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
LimitNPROC=1
-ProtectHome=true
-ProtectSystem=full
+SmackProcessLabel=System
+Restart=on-failure
[Install]
WantedBy=multi-user.target