- Add a configurable systemd unit template and Nix PATH setup guidance for running the daemon from a checkout.\n- Document Developer Mode SSH capture setup and operator smoke checks so deployed screenshot support can be verified.
18 lines
476 B
Desktop File
18 lines
476 B
Desktop File
[Unit]
|
|
Description=LG webOS Smart TV MCP server
|
|
Wants=network-online.target
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=<User>
|
|
WorkingDirectory=<WorkingDirectory>
|
|
EnvironmentFile=<WorkingDirectory>/.env
|
|
Environment="PATH=/run/current-system/sw/bin:/nix/var/nix/profiles/default/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
|
|
ExecStart=nix develop --command python -m lg_smtv_mcp serve
|
|
Restart=on-failure
|
|
RestartSec=5s
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|