diff --git a/deploy/zhixi-nest-api.service b/deploy/zhixi-nest-api.service index 8e883ff..f1ea518 100644 --- a/deploy/zhixi-nest-api.service +++ b/deploy/zhixi-nest-api.service @@ -20,10 +20,6 @@ EnvironmentFile=/opt/zhixi/env/.env.production # Security NoNewPrivileges=yes -ProtectSystem=strict -ProtectHome=yes -ReadWritePaths=/opt/zhixi/api-server/uploads -ReadWritePaths=/opt/zhixi/api-server/prisma # Logging StandardOutput=journal diff --git a/deploy/zhixi-nest-worker.service b/deploy/zhixi-nest-worker.service index 9d910c4..2c3704d 100644 --- a/deploy/zhixi-nest-worker.service +++ b/deploy/zhixi-nest-worker.service @@ -26,9 +26,6 @@ MemoryMax=512M # Security NoNewPrivileges=yes -ProtectSystem=strict -ProtectHome=yes -ReadWritePaths=/opt/zhixi/backend/uploads # Logging StandardOutput=journal