Closed GrownPlanet closed 3 months ago
Doesn't seem like a Kanata bug. Is there anything else in system logs suggesting why Kanata exited? Perhaps it's starting up too early and no input devices are found? There should be a defcfg item or CLI argument to control this behaviour if no devices are found IIRC.
Any reason why you're using Restart=never? If you can change it that also seems like a reasonable fix.
Perhaps it's starting up too early and no input devices are found\ that could definitely be it, but removing Restart=never doesn't fix it, I will try to make it start after input devices are discovered
I changed Restart=never
to Restart=on-failure
and that fixed it.
Requirements
Describe the bug
Kanata doesn't start on startup using systemd, when restarting kanata using
systemctl --user restart kanata.service
it works properly. systemd log:Relevant kanata config
No response
To Reproduce
[Service] Environment=PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/bin Environment=DISPLAY=:0 Environment=HOME=/home/timod Type=simple ExecStart=/home/timod/.cargo/bin/kanata --cfg /home/timod/.config/kanata/config.kbd Restart=never
[Install] WantedBy=default.target