mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
improved users/groups
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
[Unit]
|
||||
Description=IPMI to KVMD proxy
|
||||
Description=Pi-KVM - IPMI to KVMD proxy
|
||||
After=kvmd.service
|
||||
|
||||
[Service]
|
||||
User=kvmd
|
||||
Group=kvmd
|
||||
User=kvmd-ipmi
|
||||
Group=kvmd-ipmi
|
||||
Type=simple
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
[Unit]
|
||||
Description=Nginx instance for KVMD
|
||||
Description=Pi-KVM - HTTP entrypoint
|
||||
After=network.target network-online.target nss-lookup.target kvmd.service
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
PIDFile=/run/kvmd-nginx.pid
|
||||
PIDFile=/run/kvmd/nginx.pid
|
||||
PrivateDevices=yes
|
||||
SyslogLevel=err
|
||||
|
||||
ExecStart=/usr/bin/nginx -p /etc/kvmd/nginx -c /etc/kvmd/nginx/nginx.conf -g 'pid /run/kvmd-nginx.pid; error_log stderr;'
|
||||
ExecStart=/usr/bin/nginx -p /etc/kvmd/nginx -c /etc/kvmd/nginx/nginx.conf -g 'pid /run/kvmd/nginx.pid; user kvmd-nginx; error_log stderr;'
|
||||
ExecReload=/usr/bin/nginx -s reload -p /etc/kvmd/nginx -c /etc/kvmd/nginx/nginx.conf
|
||||
KillSignal=SIGQUIT
|
||||
KillMode=mixed
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[Unit]
|
||||
Description=Loads EDID data to TC358743
|
||||
Description=Pi-KVM - EDID loader for TC358743
|
||||
After=systemd-modules-load.service
|
||||
Before=kvmd.service
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[Unit]
|
||||
Description=The main Pi-KVM daemon
|
||||
Description=Pi-KVM - The main daemon
|
||||
After=network.target network-online.target nss-lookup.target
|
||||
|
||||
[Service]
|
||||
|
||||
1
configs/os/tmpfiles.conf
Normal file
1
configs/os/tmpfiles.conf
Normal file
@@ -0,0 +1 @@
|
||||
D /run/kvmd 0775 kvmd kvmd -
|
||||
Reference in New Issue
Block a user