Remove bluetooth-share-start.service and path file 14/182014/1 accepted/tizen/unified/20180621.141255 submit/tizen/20180620.021117
authorWootak Jung <wootak.jung@samsung.com>
Wed, 20 Jun 2018 00:39:09 +0000 (09:39 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Wed, 20 Jun 2018 00:39:09 +0000 (09:39 +0900)
Relocate these files to bluetooth-share

Change-Id: I83a300c83754f1201bfc589a70a9938362b02107

packaging/bluetooth-share-start.path [deleted file]
packaging/bluetooth-share-start.service [deleted file]
packaging/bluetooth-tools.spec

diff --git a/packaging/bluetooth-share-start.path b/packaging/bluetooth-share-start.path
deleted file mode 100644 (file)
index 5a3eefb..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-[Unit]
-Description=Path activation for the "bluetooth-share-start"
-
-[Path]
-PathExists=/run/.bluetooth_share_start
diff --git a/packaging/bluetooth-share-start.service b/packaging/bluetooth-share-start.service
deleted file mode 100644 (file)
index 372836e..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-[Unit]
-Description=Service to run bluetooth-share normally
-
-[Service]
-User=network_fw
-Group=network_fw
-Type=oneshot
-SmackProcessLabel=System
-SupplementaryGroups=priv_mediastorage priv_externalstorage
-ExecStartPre=/usr/bin/rm -f /run/.bluetooth_share_start
-ExecStart=/usr/bin/bluetooth-share
-RemainAfterExit=no
-SuccessExitStatus=1
-StartLimitInterval=1
-StartLimitBurst=10
index 79ccf1e..64c35ea 100644 (file)
@@ -100,9 +100,6 @@ install -D -m 0644 packaging/bluetooth-hci-logger-stop.path %{buildroot}%{_libdi
 install -D -m 0644 packaging/bluez-start.service %{buildroot}%{_libdir}/systemd/system/bluez-start.service
 install -D -m 0644 packaging/bluez-start.path %{buildroot}%{_libdir}/systemd/system/bluez-start.path
 
-install -D -m 0644 packaging/bluetooth-share-start.service %{buildroot}%{_libdir}/systemd/system/bluetooth-share-start.service
-install -D -m 0644 packaging/bluetooth-share-start.path %{buildroot}%{_libdir}/systemd/system/bluetooth-share-start.path
-
 install -D -m 0644 packaging/bluetooth-stack-down.service %{buildroot}%{_libdir}/systemd/system/bluetooth-stack-down.service
 install -D -m 0644 packaging/bluetooth-stack-down.path %{buildroot}%{_libdir}/systemd/system/bluetooth-stack-down.path
 
@@ -124,10 +121,6 @@ ln -sf %{_libdir}/systemd/system/bluez-start.service %{_sysconfdir}/systemd/defa
 ln -sf %{_libdir}/systemd/system/bluez-start.path %{_libdir}/systemd/system/multi-user.target.wants/bluez-start.path
 ln -sf %{_libdir}/systemd/system/bluez-start.path %{_sysconfdir}/systemd/default-extra-dependencies/ignore-units.d/
 
-ln -sf %{_libdir}/systemd/system/bluetooth-share-start.service %{_sysconfdir}/systemd/default-extra-dependencies/ignore-units.d/
-ln -sf %{_libdir}/systemd/system/bluetooth-share-start.path %{_libdir}/systemd/system/multi-user.target.wants/bluetooth-share-start.path
-ln -sf %{_libdir}/systemd/system/bluetooth-share-start.path %{_sysconfdir}/systemd/default-extra-dependencies/ignore-units.d/
-
 ln -sf %{_libdir}/systemd/system/bluetooth-stack-down.service %{_sysconfdir}/systemd/default-extra-dependencies/ignore-units.d/
 ln -sf %{_libdir}/systemd/system/bluetooth-stack-down.path %{_libdir}/systemd/system/multi-user.target.wants/bluetooth-stack-down.path
 ln -sf %{_libdir}/systemd/system/bluetooth-stack-down.path %{_sysconfdir}/systemd/default-extra-dependencies/ignore-units.d/
@@ -156,8 +149,6 @@ ln -sf %{_libdir}/systemd/system/bluetooth-force-hci-logger.service %{_sysconfdi
 %{_libdir}/systemd/system/bluetooth-hci-logger-stop.path
 %{_libdir}/systemd/system/bluez-start.service
 %{_libdir}/systemd/system/bluez-start.path
-%{_libdir}/systemd/system/bluetooth-share-start.service
-%{_libdir}/systemd/system/bluetooth-share-start.path
 %{_libdir}/systemd/system/bluetooth-force-hci-logger.service
 %{_libdir}/systemd/system/bluetooth-hci-dump@.service
 %{_libdir}/systemd/system/bluetooth-stack-down.service