All checks were successful
ci/woodpecker/pr/ci Pipeline was successful
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
20 lines
893 B
Desktop File
20 lines
893 B
Desktop File
[Unit]
|
|
Description=Mosaic operator interaction agent %i
|
|
Documentation=https://git.mosaicstack.dev/mosaicstack/stack
|
|
Requires=mosaic-tmux-holder.service
|
|
After=mosaic-tmux-holder.service
|
|
PartOf=mosaic-tmux-holder.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
# Remove loader and noninteractive-shell controls before ExecStart loads env.
|
|
UnsetEnvironment=LD_PRELOAD BASH_ENV ENV
|
|
RemainAfterExit=yes
|
|
# The interaction wrapper delegates to the shared strict parser before pinned
|
|
# profile checks; no projection data reaches Bash through systemd.
|
|
ExecStart=/usr/bin/env -i HOME=%h MOSAIC_AGENT_NAME=%i PATH=/usr/bin:/bin /bin/bash --noprofile --norc %h/.config/mosaic/tools/fleet/start-interaction-service.sh %i
|
|
ExecStop=-/usr/bin/env -i HOME=%h MOSAIC_AGENT_NAME=%i PATH=/usr/bin:/bin /bin/bash --noprofile --norc %h/.config/mosaic/tools/fleet/start-agent-session.sh --stop %i
|
|
|
|
[Install]
|
|
WantedBy=default.target
|