parent
a9ec2bb2c3
commit
a88733149d
@ -12,3 +12,6 @@ install:
|
|||||||
install -d $(DESTDIR)/etc/dbus-1/system.d
|
install -d $(DESTDIR)/etc/dbus-1/system.d
|
||||||
install -m 0644 dbus-org.qubesos.PolicyAgent.conf \
|
install -m 0644 dbus-org.qubesos.PolicyAgent.conf \
|
||||||
$(DESTDIR)/etc/dbus-1/system.d/org.qubesos.PolicyAgent.conf
|
$(DESTDIR)/etc/dbus-1/system.d/org.qubesos.PolicyAgent.conf
|
||||||
|
install -d $(DESTDIR)/etc/logrotate.d
|
||||||
|
install -m 0644 logrotate-qubes \
|
||||||
|
$(DESTDIR)/etc/logrotate.d/qubes
|
||||||
|
19
linux/system-config/logrotate-qubes
Normal file
19
linux/system-config/logrotate-qubes
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
/var/log/qubes/qmemman.log {
|
||||||
|
create 0640 root qubes
|
||||||
|
su root qubes
|
||||||
|
postrotate
|
||||||
|
/bin/systemctl restart qubes-qmemman.service >/dev/null 2>/dev/null || true
|
||||||
|
endscript
|
||||||
|
}
|
||||||
|
|
||||||
|
/var/log/qubes/qubes.log {
|
||||||
|
create 0640 root qubes
|
||||||
|
su root qubes
|
||||||
|
postrotate
|
||||||
|
/bin/systemctl restart qubesd.service >/dev/null 2>/dev/null || true
|
||||||
|
endscript
|
||||||
|
}
|
||||||
|
|
||||||
|
/var/log/qubes/vm-*.log {
|
||||||
|
su root qubes
|
||||||
|
}
|
@ -193,6 +193,7 @@ fi
|
|||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%config(noreplace) %attr(0664,root,qubes) %{_sysconfdir}/qubes/qmemman.conf
|
%config(noreplace) %attr(0664,root,qubes) %{_sysconfdir}/qubes/qmemman.conf
|
||||||
%config(noreplace) /etc/dbus-1/system.d/org.qubesos.PolicyAgent.conf
|
%config(noreplace) /etc/dbus-1/system.d/org.qubesos.PolicyAgent.conf
|
||||||
|
%config(noreplace) /etc/logrotate.d/qubes
|
||||||
%attr(770,root,qubes) %dir /etc/qubes/backup
|
%attr(770,root,qubes) %dir /etc/qubes/backup
|
||||||
/usr/bin/qvm-*
|
/usr/bin/qvm-*
|
||||||
/usr/bin/qubes-*
|
/usr/bin/qubes-*
|
||||||
|
Loading…
Reference in New Issue
Block a user