mirror of
https://github.com/NVIDIA/OpenShell.git
synced 2026-10-04 00:23:53 +08:00
24 lines
731 B
Desktop File
24 lines
731 B
Desktop File
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
[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 config preflight
|
|
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
|