mirror of
https://github.com/NVIDIA/OpenShell.git
synced 2026-10-15 05:09:44 +08:00
* fix(gateway): align package TLS bootstrap path Closes #1593 Default package-managed gateway services to a stable local TLS directory and use that same value for certificate generation and runtime startup. Signed-off-by: Taylor Mutch <taylormutch@gmail.com> * test(packaging): validate package asset paths exist Signed-off-by: Taylor Mutch <taylormutch@gmail.com> * ci(e2e): pin mise in kubernetes job Signed-off-by: Taylor Mutch <taylormutch@gmail.com> --------- Signed-off-by: Taylor Mutch <taylormutch@gmail.com>
20 lines
536 B
Desktop File
20 lines
536 B
Desktop File
[Unit]
|
|
Description=OpenShell Gateway
|
|
Documentation=https://github.com/NVIDIA/OpenShell
|
|
After=default.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
StateDirectory=openshell/gateway
|
|
Environment=OPENSHELL_LOCAL_TLS_DIR=%h/.local/state/openshell/tls
|
|
EnvironmentFile=-%E/openshell/gateway.env
|
|
ExecStartPre=/usr/bin/openshell-gateway generate-certs --output-dir ${OPENSHELL_LOCAL_TLS_DIR} --server-san host.openshell.internal
|
|
ExecStart=/usr/bin/openshell-gateway
|
|
Restart=on-failure
|
|
RestartSec=5s
|
|
PrivateTmp=true
|
|
UMask=0077
|
|
|
|
[Install]
|
|
WantedBy=default.target
|