mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 17:20:30 +08:00
pikvm/pikvm#245: using sbin for some binaries
This commit is contained in:
parent
0d9a4a446f
commit
647251647d
@ -8,8 +8,8 @@ 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; user kvmd-nginx; error_log stderr;'
|
||||
ExecReload=/usr/bin/nginx -s reload -p /etc/kvmd/nginx -c /etc/kvmd/nginx/nginx.conf
|
||||
ExecStart=/usr/sbin/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/sbin/nginx -s reload -p /etc/kvmd/nginx -c /etc/kvmd/nginx/nginx.conf
|
||||
KillSignal=SIGQUIT
|
||||
KillMode=mixed
|
||||
TimeoutStopSec=3
|
||||
|
||||
@ -533,7 +533,7 @@ def _get_config_scheme() -> Dict:
|
||||
"allow_tcp": Option([], type=valid_ports_list),
|
||||
"allow_udp": Option([67], type=valid_ports_list),
|
||||
"forward_iface": Option("", type=valid_stripped_string),
|
||||
"iptables_cmd": Option(["/usr/bin/iptables", "--wait=5"], type=valid_command),
|
||||
"iptables_cmd": Option(["/usr/sbin/iptables", "--wait=5"], type=valid_command),
|
||||
},
|
||||
|
||||
"commands": {
|
||||
@ -544,7 +544,7 @@ def _get_config_scheme() -> Dict:
|
||||
"post_start_cmd": Option([
|
||||
"/usr/bin/systemd-run",
|
||||
"--unit=kvmd-otgnet-dnsmasq",
|
||||
"/usr/bin/dnsmasq",
|
||||
"/usr/sbin/dnsmasq",
|
||||
"--conf-file=/dev/null",
|
||||
"--pid-file",
|
||||
"--user=dnsmasq",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user