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