[systemd-devel] Running a non-idempotent command from udev

Demi Marie Obenour demi at invisiblethingslab.com
Sat Jul 15 16:20:33 UTC 2023


What is the appropriate solution for running a non-idempotent command
from udev?  One command needs to be run exactly once when a network
interface appears, and another command needs to be run exactly once when
a network interface disappears.  Both commands need to run after
network-pre.target, but that can be handled in the script themselves.
-- 
Sincerely,
Demi Marie Obenour (she/her/hers)
Invisible Things Lab
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20230715/a123cc03/attachment.sig>


More information about the systemd-devel mailing list