From: Yifei Zhan Date: Thu, 12 Sep 2024 04:53:25 -0400 Subject: debian: systemd service: patch upstream unit --- evremap.service | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) --- a/evremap.service +++ b/evremap.service @@ -1,11 +1,13 @@ +[Unit] +Description=keyboard input remap daemon +Documentation=man:evremap(1) +After=local-fs.target +ConditionPathExists=/etc/evremap.toml + [Service] WorkingDirectory=/ -# For reasons I don't care to troubleshoot, Fedora 31 won't let me start this -# unless I use `bash -c` around it. Putting the command line in directly -# yields a 203 permission denied error with no logs about what it didn't like. -ExecStart=bash -c "/usr/bin/evremap remap /etc/evremap.toml -d 0" +ExecStart=/usr/bin/evremap remap /etc/evremap.toml -d 0 Restart=always [Install] WantedBy=multi-user.target -