Files
esh-pfi-infrastructure/configs/svos-apps/svos-terminal.service
T

31 lines
1.0 KiB
Desktop File

# eshpfi configs/svos-apps/ (infra-ops, 2026-10-07, a737a06 refresh), modelled on svoperatingsystem
# deployment/nh3-svos/svos-interface.service. The credential is /etc/svos/terminal.env (root 0600, SVOS_APP_CREDENTIAL),
# minted by enrollment on the private kernel listener. Listed in the qemu-ga quiesce hook (configs/qemu-ga/svos/50-svos).
[Unit]
Description=SVOS Terminal connector (app-terminal, U8)
After=svos-kernel.service
Requires=svos-kernel.service
ConditionPathExists=/etc/svos/terminal.env
[Service]
Type=simple
User=svc-svos
Group=svc-svos
UMask=0077
WorkingDirectory=/var/lib/svos
EnvironmentFile=/etc/svos/terminal.env
Environment=SVOS_KERNEL_URL=http://127.0.0.1:8400
Environment=SVOS_DATA_ROOT=/var/lib/svos
Environment=SVOS_APP_LISTEN=127.0.0.1:8404
ExecStart=/opt/svos/current/apps-env/bin/svos-terminal
Restart=on-failure
RestartSec=3
TimeoutStopSec=20
KillMode=control-group
NoNewPrivileges=yes
ProtectSystem=strict
ProtectHome=yes
PrivateTmp=yes
ReadWritePaths=/var/lib/svos
[Install]
WantedBy=multi-user.target