Install opens up COMFY_DIR for the sandboxed service: ACL grant on Windows, BindPaths on Linux
This commit is contained in:
@@ -159,6 +159,14 @@ files are flagged in the startup log.
|
||||
- Its stdout/stderr is forwarded to the log at INFO. The health check
|
||||
skips the intentionally-stopped/starting states; a failed probe while
|
||||
the process is alive and was previously ready is logged as DOWN.
|
||||
- **Permissions**: the service account is sandboxed (Windows virtual
|
||||
account, systemd `DynamicUser`), so a ComfyUI install inside a user
|
||||
profile is off-limits by default. `--install-service` opens it up —
|
||||
a recursive ACL grant for `NT SERVICE\gpu-turnstile` on Windows, a
|
||||
`BindPaths=` in the unit on Linux — reading `COMFY_DIR` from the config
|
||||
it installs. Re-run `--install-service` after changing `COMFY_DIR`, or
|
||||
grant by hand (admin shell):
|
||||
`icacls "<COMFY_DIR>" /grant "NT SERVICE\gpu-turnstile:(OI)(CI)M" /T`.
|
||||
|
||||
## Game detection (foreign GPU holders)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user