-
-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add systemd dropins for minimal sys-net and sys-usb
Some unnecessary services are running on sys-net and sys-usb which consumes RAM for nothing. SystemD dropins are added to automatically disable identified unecessary services by enabling minimal-netvm or minimal-usbvm service on the sys-vms with qvm-service.
- Loading branch information
Showing
10 changed files
with
42 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1272,6 +1272,8 @@ The Qubes core startup configuration for SystemD init. | |
%_unitdir/qubes-updates-proxy-forwarder.socket | ||
%{_unitdir}-preset/%qubes_preset_file | ||
%_modulesloaddir/qubes-core.conf | ||
%_unitdir/abrtd.service.d/30_qubes.conf | ||
%_unitdir/bluetooth.service.d/30_qubes.conf | ||
%dir %_unitdir/boot.automount.d | ||
%_unitdir/boot.automount.d/30_qubes.conf | ||
%dir %_unitdir/*.service.d | ||
|
@@ -1292,6 +1294,7 @@ The Qubes core startup configuration for SystemD init. | |
%_unitdir/ModemManager.service.d/30_qubes.conf | ||
%_unitdir/NetworkManager.service.d/30_qubes.conf | ||
%_unitdir/NetworkManager-wait-online.service.d/30_qubes.conf | ||
%_unitdir/polkit.service.d/30_qubes.conf | ||
%_unitdir/[email protected]/30_qubes.conf | ||
%_unitdir/systemd-random-seed.service.d/30_qubes.conf | ||
%_unitdir/systemd-timesyncd.service.d/30_qubes.conf | ||
|
@@ -1314,6 +1317,10 @@ The Qubes core startup configuration for SystemD init. | |
%_userunitdir/evolution-calendar-factory.service.d/30_qubes.conf | ||
%_userunitdir/evolution-source-registry.service.d/30_qubes.conf | ||
%_userunitdir/evolution-user-prompter.service.d/30_qubes.conf | ||
%_userunitdir/at-spi-dbus-bus.service.d/30_qubes.conf | ||
%_userunitdir/gvfs-daemon.service.d/30_qubes.conf | ||
%_userunitdir/pipewire.service.d/40_minimal.conf | ||
%_userunitdir/wireplumber.service.d/30_qubes.conf | ||
|
||
%post systemd | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[Unit] | ||
ConditionPathExists=!/var/run/qubes-service/minimal-netvm | ||
ConditionPathExists=!/var/run/qubes-service/minimal-usbvm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[Unit] | ||
ConditionPathExists=!/var/run/qubes-service/minimal-usbvm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[Unit] | ||
ConditionPathExists=!/var/run/qubes-service/minimal-usbvm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[Unit] | ||
ConditionPathExists=!/var/run/qubes-service/minimal-netvm | ||
ConditionPathExists=!/var/run/qubes-service/minimal-usbvm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[Unit] | ||
ConditionPathExists=!/var/run/qubes-service/minimal-netvm | ||
ConditionPathExists=!/var/run/qubes-service/minimal-usbvm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[Unit] | ||
ConditionPathExists=!/var/run/qubes-service/minimal-netvm | ||
ConditionPathExists=!/var/run/qubes-service/minimal-usbvm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[Unit] | ||
ConditionPathExists=!/var/run/qubes-service/minimal-netvm | ||
ConditionPathExists=!/var/run/qubes-service/minimal-usbvm |