Enforce our slice for PHP fpm

This commit is contained in:
Inex Code 2024-07-27 03:07:06 +03:00
parent a99e80e1fe
commit ec8ce1a235
2 changed files with 2 additions and 2 deletions

View file

@ -36,7 +36,7 @@
};
systemd = {
services = {
phpfpm-nextcloud.serviceConfig.Slice = "nextcloud.slice";
phpfpm-nextcloud.serviceConfig.Slice = lib.mkForce "nextcloud.slice";
nextcloud-setup.serviceConfig.Slice = "nextcloud.slice";
nextcloud-cron.serviceConfig.Slice = "nextcloud.slice";
nextcloud-update-db.serviceConfig.Slice = "nextcloud.slice";

View file

@ -37,7 +37,7 @@ in
};
systemd = {
services = {
phpfpm-roundcube.serviceConfig.Slice = "roundcube.slice";
phpfpm-roundcube.serviceConfig.Slice = lib.mkForce "roundcube.slice";
};
slices.roundcube = {
description = "Roundcube service slice";