[systemd-devel] Requiring hardware device and escaping device names

Kai Hendry hendry at webconverger.com
Mon Mar 31 19:45:06 PDT 2014


On 31 March 2014 09:54, Kai Hendry <hendry at webconverger.com> wrote:
> Not sure what to try next? If I start it manually `sudo systemctl
> start shkd at -dev-input-event0.service`, it starts working again. Is
> http://www.freedesktop.org/software/systemd/man/systemd.service.html#TimeoutSec=
> the right way to proceed? Not sure.

RestartSec=5 did the trick! Not sure why systemd gives up trying to
restart a process, despite Restart=always
http://ix.io/bog

> Sidenote: Even though my /etc/udev/rules.d/98-shk-local.rules has
> ENV{SYSTEMD_WANTS}+="shkd@%N.service", how come
> shkd at sys-devices-platform-bcm2708_usb-usb1-1\x2d1-1\x2d1.2-1\x2d1.2.2-1\x2d1.2.2:1.0-input-input0.service
> & shkd at sys-devices-platform-bcm2708_usb-usb1-1\x2d1-1\x2d1.2-1\x2d1.2.2-1\x2d1.2.2:1.0-input-input2.service
> show up?? These are sys devices (%p) not  %N ($devnode).

Still don't understand where

[hendry at alarmpi ~]$ systemctl status
shkd at sys-devices-platform-bcm2708_usb-usb1-1\x2d1-1\x2d1.2-1\x2d1.2.2-1\x2d1.2.2:1.0-input-input1.service
shkd at sys-devices-platform-bcm2708_usb-usb1-1x2d1-1x2d1.2-1x2d1.2.2-1x2d1.2.2:1.0-input-input1.service
- Simple HotKey Daemon
   Loaded: loaded (/etc/systemd/system/shkd at .service; disabled)
   Active: inactive (dead)

Comes from.

Kind regards,


More information about the systemd-devel mailing list