v1.0
This commit is contained in:
1 parent
0246cbb6ba
commit
0ca4b4bf7a
89 files changed
+7042
-2480
No files matched your search
@@ -1,3 +1,5 @@
|
||||
# Template unit: install as /etc/systemd/system/homey-mcp@.service and enable
|
||||
# homey-mcp@<user>.service. (%h would be /root here: specifiers ignore User=.)
|
||||
[Unit]
|
||||
Description=Homey MCP Server (LAN mode for Odysseus)
|
||||
After=network.target
|
||||
@@ -6,12 +8,12 @@ Wants=network.target
|
||||
[Service]
|
||||
Type=simple
|
||||
User=%i
|
||||
WorkingDirectory=%h/homey-mcp
|
||||
ExecStart=%h/homey-mcp/run-lan.sh
|
||||
WorkingDirectory=/home/%i/homey-mcp
|
||||
ExecStart=/home/%i/homey-mcp/run-lan.sh
|
||||
Environment=HOMEY_MCP_TRANSPORT=streamable-http
|
||||
Environment=HOMEY_MCP_HOST=0.0.0.0
|
||||
Environment=HOMEY_MCP_PORT=8080
|
||||
EnvironmentFile=%h/homey-mcp/.env
|
||||
EnvironmentFile=/home/%i/homey-mcp/.env
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
StandardOutput=journal
|
||||
@@ -20,7 +22,7 @@ StandardError=journal
|
||||
# Security hardening
|
||||
NoNewPrivileges=true
|
||||
ProtectSystem=strict
|
||||
ReadWritePaths=%h/homey-mcp
|
||||
ReadWritePaths=/home/%i/homey-mcp
|
||||
ProtectHome=read-only
|
||||
|
||||
[Install]
|
||||
|
||||
Reference in new issue
Block a user