mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
添加玩客云直刷镜像制作脚本
This commit is contained in:
6
configs/os/kvmd-webterm.conf
Normal file
6
configs/os/kvmd-webterm.conf
Normal file
@@ -0,0 +1,6 @@
|
||||
g kvmd-webterm - -
|
||||
|
||||
u kvmd-webterm - "Pi-KVM - Web terminal" /home/kvmd-webterm
|
||||
|
||||
m kvmd-webterm kvmd
|
||||
m kvmd-nginx kvmd-webterm
|
||||
@@ -1,5 +1,5 @@
|
||||
[Unit]
|
||||
Description=PiKVM - IPMI to KVMD proxy
|
||||
Description=One-KVM - IPMI to KVMD proxy
|
||||
After=kvmd.service
|
||||
|
||||
[Service]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[Unit]
|
||||
Description=PiKVM - Janus WebRTC Gateway
|
||||
Description=One-KVM - Janus WebRTC Gateway
|
||||
After=network.target network-online.target nss-lookup.target kvmd.service
|
||||
|
||||
[Service]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[Unit]
|
||||
Description=PiKVM - HTTP entrypoint
|
||||
Description=One-KVM - HTTP entrypoint
|
||||
After=network.target network-online.target nss-lookup.target kvmd.service
|
||||
|
||||
[Service]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[Unit]
|
||||
Description=PiKVM - OTG setup
|
||||
Description=One-KVM- OTG setup
|
||||
After=systemd-modules-load.service
|
||||
Before=kvmd.service
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[Unit]
|
||||
Description=PiKVM - VNC to KVMD/Streamer proxy
|
||||
Description=One-KVM - VNC to KVMD/Streamer proxy
|
||||
After=kvmd.service
|
||||
|
||||
[Service]
|
||||
|
||||
24
configs/os/services/kvmd-webterm.service
Normal file
24
configs/os/services/kvmd-webterm.service
Normal file
@@ -0,0 +1,24 @@
|
||||
[Unit]
|
||||
Description=One-KVM - Web terminal (ttyd)
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=kvmd-webterm
|
||||
Group=kvmd-webterm
|
||||
WorkingDirectory=/home/kvmd-webterm
|
||||
Restart=always
|
||||
RestartSec=1
|
||||
|
||||
# Crutch for UNIX socket perms
|
||||
UMask=0117
|
||||
|
||||
EnvironmentFile=-/etc/conf.d/kvmd-webterm
|
||||
ExecStart=/usr/bin/ttyd \
|
||||
-W \
|
||||
--interface=/run/kvmd/ttyd.sock \
|
||||
--port=0 \
|
||||
$KVMD_WEBTERM_ARGS \
|
||||
/bin/bash -c 'echo -ne "\033]0;One-KVM Terminal: `hostname -f` (ttyd)\007"; bash /etc/kvmd/armbain-motd; export TERM=linux; umask 0022; bash'
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -1,5 +1,5 @@
|
||||
[Unit]
|
||||
Description=PiKVM - The main daemon
|
||||
Description=One-KVM - The main daemon
|
||||
After=network.target network-online.target nss-lookup.target
|
||||
|
||||
[Service]
|
||||
|
||||
Reference in New Issue
Block a user