Add systemd scriptlets to restart asusd on upgrade

This commit is contained in:
Ali Abdelaal
2025-12-15 15:36:45 +00:00
parent 3a206eb76f
commit 6f651c2b85

View File

@@ -147,6 +147,15 @@ install -D -m 0644 LICENSE %{buildroot}%{_datadir}/asusctl/LICENSE
desktop-file-validate %{buildroot}%{_datadir}/applications/rog-control-center.desktop
%post
%systemd_post asusd.service
%preun
%systemd_preun asusd.service
%postun
%systemd_postun_with_restart asusd.service
%files
%license LICENSE
%{_bindir}/asusd