Since `/etc/keyd/` `/usr/bin/` etc. are root filesystems and are already available, the following are not required: Requires=local-fs.target After=local-fs.target In addition, make the unit a dependency of multi-user.target instead of sysinit.target: WantedBy=sysinit.targetmaster
parent
9079b41f57
commit
459cb1fff1
1 changed files with 1 additions and 3 deletions
@ -1,11 +1,9 @@ |
||||
[Unit] |
||||
Description=key remapping daemon |
||||
Requires=local-fs.target |
||||
After=local-fs.target |
||||
|
||||
[Service] |
||||
Type=simple |
||||
ExecStart=@PREFIX@/bin/keyd |
||||
|
||||
[Install] |
||||
WantedBy=sysinit.target |
||||
WantedBy=multi-user.target |
||||
|
||||
Loading…
Reference in new issue