Remove mcp-master systemd unit (now containerized)

The master runs as an MCP-managed container, deployed via
mcp deploy mcp-master --direct. The systemd unit was a temporary
bootstrap mechanism.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-02 22:56:08 -07:00
parent b26478d47b
commit 6a65e73200

View File

@@ -22,40 +22,9 @@ in
users.groups.mcp = {}; users.groups.mcp = {};
# MCP Master — multi-node orchestrator (v2). # MCP Master runs as an MCP-managed container (not a systemd service).
# Runs on the master node only (rift). Coordinates deployments across # Deployed via: mcp deploy mcp-master --direct
# agents, manages edge routing, and maintains cluster state. # See ~/.config/mcp/services/mcp-master.toml
# Uses ExecStartPre to skip startup if the binary is absent (safe on
# worker nodes that import this module but don't run the master).
systemd.services.mcp-master = {
description = "MCP Master";
after = [ "network-online.target" "mcp-agent.service" ];
wants = [ "network-online.target" ];
wantedBy = [ "multi-user.target" ];
unitConfig = {
ConditionPathExists = "/srv/mcp-master/mcp-master";
};
serviceConfig = {
Type = "simple";
ExecStart = "/srv/mcp-master/mcp-master server --config /srv/mcp-master/mcp-master.toml";
Restart = "on-failure";
RestartSec = 5;
NoNewPrivileges = true;
ProtectSystem = "full";
ProtectHome = true;
PrivateTmp = true;
PrivateDevices = true;
ProtectKernelTunables = true;
ProtectKernelModules = true;
RestrictSUIDSGID = true;
LockPersonality = true;
RestrictRealtime = true;
ReadWritePaths = [ "/srv/mcp-master" ];
};
};
systemd.services.mcp-agent = { systemd.services.mcp-agent = {
description = "MCP Agent"; description = "MCP Agent";