mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-30 17:41:54 +08:00
os configs
This commit is contained in:
13
configs/os/systemd/kvmd-tc358743.service
Normal file
13
configs/os/systemd/kvmd-tc358743.service
Normal file
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Loads EDID data to TC358743
|
||||
After=systemd-modules-load.service
|
||||
Before=kvmd.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/v4l2-ctl --device=/dev/kvmd-video --set-edid=file=/etc/kvmd/tc358743-edid.hex --fix-edid-checksums
|
||||
ExecStop=/bin/true
|
||||
RemainAfterExit=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
16
configs/os/systemd/kvmd.service
Normal file
16
configs/os/systemd/kvmd.service
Normal file
@@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=The main Pi-KVM daemon
|
||||
After=network.target network-online.target nss-lookup.target
|
||||
|
||||
[Service]
|
||||
User=kvmd
|
||||
Group=kvmd
|
||||
Type=simple
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
|
||||
ExecStart=/usr/bin/kvmd
|
||||
ExecStopPost=/usr/bin/kvmd-cleanup
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user