mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-13 17:50:29 +08:00
- 在 devices.sh 中启用 rc-local.service,以确保 kvmd 服务的正常运行 - 更新 ustreamer 配置,修正音频设备参数 - 修改 kvmd.service 文件,添加对 rc-local.service 的依赖
19 lines
329 B
Desktop File
19 lines
329 B
Desktop File
[Unit]
|
|
Description=One-KVM - The main daemon
|
|
After=network.target network-online.target nss-lookup.target rc-local.service
|
|
|
|
[Service]
|
|
User=kvmd
|
|
Group=kvmd
|
|
Type=simple
|
|
Restart=always
|
|
RestartSec=3
|
|
AmbientCapabilities=CAP_NET_RAW
|
|
|
|
ExecStart=/usr/bin/kvmd --run
|
|
TimeoutStopSec=10
|
|
KillMode=mixed
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|