You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a systemd.path defined with a clause DirectoryNotEmpty=/data/transfers/ready - when a regular file with any name at all gets created in the directory, a transfer should be triggered. I was expecting files matching any glob pattern, visible or hidden, to trigger the trigger-transfer.service to be started.
Unexpected behaviour you saw
I do see the trigger-transfer.service being started for regular files starting with any character that isn't the . - but "hidden" / "dot" files like .foo inside the directory do not start the service.
systemd version the issue has been seen with
255
Used distribution
NixOS 23.11
Linux kernel version used
6.6.30
CPU architectures issue was seen on
x86_64
Component
systemd
Expected behaviour you didn't see
I have a systemd.path defined with a clause
DirectoryNotEmpty=/data/transfers/ready
- when a regular file with any name at all gets created in the directory, a transfer should be triggered. I was expecting files matching any glob pattern, visible or hidden, to trigger thetrigger-transfer.service
to be started.Unexpected behaviour you saw
I do see the
trigger-transfer.service
being started for regular files starting with any character that isn't the.
- but "hidden" / "dot" files like.foo
inside the directory do not start the service.Steps to reproduce the problem
trigger-transfer.service
(not shown)touch /data/transfers/ready/foo
- the service gets startedtouch /data/transfers/ready/.foo
- the service does not get started.Additional program output to the terminal or log subsystem illustrating the issue
No response
The text was updated successfully, but these errors were encountered: