Skip to content

Commit

Permalink
Add cockpit-machines-logging service
Browse files Browse the repository at this point in the history
  • Loading branch information
ohruka authored Aug 26, 2024
1 parent ef051ef commit 56a80c6
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packaging/cockpit-machines.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,23 @@ If "virt-install" is installed, you can also create new virtual machines.
%make_install PREFIX=/usr
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*

# Add cockpit-machines-logging service
install -Dm644 %{_sourcedir}/src/systemd/cockpit-machines-logging.service %{buildroot}%{_unitdir}/cockpit-machines-logging.service
install -Dm755 %{_sourcedir}/src/bin/cockpit-machines-logging %{buildroot}%{_bindir}/cockpit-machines-logging

%post
%systemd_post cockpit-machines-logging.service

%preun
%systemd_preun cockpit-machines-logging.service

%files
%doc README.md
%license LICENSE dist/index.js.LEGAL.txt dist/index.css.LEGAL.txt
%{_datadir}/cockpit/*
%{_datadir}/metainfo/*
%{_unitdir}/cockpit-machines-logging.service
%attr(0755, root, root) %{_bindir}/cockpit-machines-logging

# The changelog is automatically generated and merged
%changelog

0 comments on commit 56a80c6

Please sign in to comment.