mirror of
https://github.com/htrefil/rkvm.git
synced 2024-11-16 07:47:24 +01:00
Add systemd service files
This commit is contained in:
parent
1b99d2011d
commit
8f2aad72d7
3 changed files with 23 additions and 1 deletions
|
@ -28,7 +28,7 @@ You either need to run either of the programs as root or make `/dev/uinput` acce
|
|||
|
||||
By default, the programs reads their config files from /etc/rkvm/{server,client}.toml, this can be changed by passing the path as the first command line parameter.
|
||||
|
||||
The [example](example) directory contains example configurations.
|
||||
The [example](example) directory contains example configurations and systemd service files.
|
||||
|
||||
## Why rkvm and not Barrier/Synergy?
|
||||
The author of this program had a lot of problems with said programs, namely his keyboard layout (Czech) not being supported properly, which stems from the fact that the programs send characters which it then attempts to translate back into keycodes. rkvm takes a different approach to solving this problem and doesn't assume anything about your keyboard layout -- it sends raw keycodes only.
|
||||
|
|
12
example/rkvm-client.service
Normal file
12
example/rkvm-client.service
Normal file
|
@ -0,0 +1,12 @@
|
|||
[Unit]
|
||||
Description=rkvm client
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/opt/rkvm/client
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
10
example/rkvm-server.service
Normal file
10
example/rkvm-server.service
Normal file
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=rkvm server
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/opt/rkvm/server
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in a new issue