mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-01 03:21:41 +00:00
chore: Move vpower to libexec
This commit is contained in:
parent
36ee23c00d
commit
b67cee9870
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
-ExecStart=/usr/lib/vpower
|
-ExecStart=/usr/lib/vpower
|
||||||
+ExecStart=/usr/bin/vpower
|
+ExecStart=/usr/libexec/vpower
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartSec=1
|
RestartSec=1
|
||||||
|
|
||||||
|
@ -30,6 +30,8 @@ Service that calculates battery metrics and handles critical battery scenarios
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%cargo_install
|
%cargo_install
|
||||||
|
mkdir -p %{buildroot}%{_libexecdir}
|
||||||
|
mv %{buildroot}%{_bindir}/%{name} %{buildroot}%{_libexecdir}/%{name}
|
||||||
mkdir -p %{buildroot}%{_unitdir}/
|
mkdir -p %{buildroot}%{_unitdir}/
|
||||||
cp -v vpower.service %{buildroot}%{_unitdir}/%{name}.service
|
cp -v vpower.service %{buildroot}%{_unitdir}/%{name}.service
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/
|
mkdir -p %{buildroot}%{_sysconfdir}/
|
||||||
|
Loading…
Reference in New Issue
Block a user