Comment

Comment by evgpbfhnr

Note if the author reads this (perfect is the enemy of good, feel free to ignore): You can make udev run systemd services directly, replacing RUN=... by e.g. TAG+="systemd", ENV{SYSTEMD_WANTS}+="foo.service"

That might require you also remove the 'enabled = true' for the service, and make sure gphoto2 dies when the camera is unplugged?

Anyway, it was a nice read :)

parent evgpbfhnr 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton