mirror of
https://github.com/NVIDIA/OpenShell.git
synced 2026-10-18 05:39:50 +08:00
* fix(packaging): use gateway TOML config in packages * refactor(packaging): rely on gateway runtime defaults
19 lines
460 B
Desktop File
19 lines
460 B
Desktop File
[Unit]
|
|
Description=OpenShell Gateway
|
|
Documentation=https://github.com/NVIDIA/OpenShell
|
|
After=default.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
StateDirectory=openshell/gateway
|
|
EnvironmentFile=-%E/openshell/gateway.env
|
|
ExecStartPre=/usr/bin/openshell-gateway generate-certs --output-dir %S/openshell/tls --server-san host.openshell.internal
|
|
ExecStart=/usr/bin/openshell-gateway
|
|
Restart=on-failure
|
|
RestartSec=5s
|
|
PrivateTmp=true
|
|
UMask=0077
|
|
|
|
[Install]
|
|
WantedBy=default.target
|