From 707290b1231dfc32066c93467e2f6f0fa369e49c Mon Sep 17 00:00:00 2001 From: Wootak Jung Date: Wed, 20 Jun 2018 09:39:09 +0900 Subject: [PATCH] Remove bluetooth-share-start.service and path file Relocate these files to bluetooth-share Change-Id: I83a300c83754f1201bfc589a70a9938362b02107 --- packaging/bluetooth-share-start.path | 5 ----- packaging/bluetooth-share-start.service | 15 --------------- packaging/bluetooth-tools.spec | 9 --------- 3 files changed, 29 deletions(-) delete mode 100644 packaging/bluetooth-share-start.path delete mode 100644 packaging/bluetooth-share-start.service diff --git a/packaging/bluetooth-share-start.path b/packaging/bluetooth-share-start.path deleted file mode 100644 index 5a3eefb..0000000 --- a/packaging/bluetooth-share-start.path +++ /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 index 372836e..0000000 --- a/packaging/bluetooth-share-start.service +++ /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 diff --git a/packaging/bluetooth-tools.spec b/packaging/bluetooth-tools.spec index 79ccf1e..64c35ea 100644 --- a/packaging/bluetooth-tools.spec +++ b/packaging/bluetooth-tools.spec @@ -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 -- 2.7.4