Skip to content

一些反馈:config相关,help相关,-t相关,service失败 #53

Open
@Oaklight

Description

@Oaklight
paging = true
pager_command = "less -RF"
auto_clear = true
english_only = false
theme = "temp"
http_proxy = ""
clear_screen = false
freq_alert = true

[logging]
  enable = true
  path = ""
  level = "info"
  stderr = false
  redirect_to_stream = false

设置后并没有清除terminal,同时kd --generate-config允许覆盖之后,config内容无变化

-t模式卡死

-h缺少新的一些指令说明

按照readme设置kd-server.service,得到下面的error:

(base) $ systemctl status --user kd-server.service 
Warning: The unit file, source configuration file or drop-ins of kd-server.service changed on disk. Run 'systemctl --user daemon-reload' to reload units.
× kd-server.service - kd the command-line dictionary's server
     Loaded: loaded (/usr/lib/systemd/user/kd-server.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Mon 2025-01-13 07:46:22 CST; 1min 56s ago
   Duration: 3ms
    Process: 232053 ExecStart=/usr/bin/kd --server --log-to-stream (code=exited, status=203/EXEC)
   Main PID: 232053 (code=exited, status=203/EXEC)
        CPU: 3ms

1月 13 07:46:22 myaccount systemd[231720]: kd-server.service: Scheduled restart job, restart counter is at 5.
1月 13 07:46:22 myaccount systemd[231720]: kd-server.service: Start request repeated too quickly.
1月 13 07:46:22 myaccount systemd[231720]: kd-server.service: Failed with result 'exit-code'.
1月 13 07:46:22 myaccount systemd[231720]: Failed to start kd-server.service - kd the command-line dictionary's server.
(base) $ systemctl is-enabled --user kd-server.service 
enabled
(base) $ cat /usr/lib/systemd/user/kd-server.service 
[Unit]
Description=kd the command-line dictionary's server

[Service]
Type=simple
ExecStart=/usr/bin/kd --server --log-to-stream
Restart=always

[Install]
WantedBy=default.target

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions