Add logging configuration for Mihomo service and ensure log directory is created
This commit is contained in:
@@ -9,6 +9,9 @@ pidfile="/run/mihomo.pid"
|
||||
# Запускаем от юзера, права на сеть дадим через setcap
|
||||
command_user="mihomo:mihomo"
|
||||
|
||||
output_log="/var/log/mihomo/mihomo.log"
|
||||
error_log="/var/log/mihomo/error.log"
|
||||
|
||||
depend() {
|
||||
need net
|
||||
use dns
|
||||
|
||||
Reference in New Issue
Block a user