BindsTo=
Configures requirement dependencies, very similar in style to Requires=, however in addition to this behavior, it also
declares that this unit is stopped when any of the units listed suddenly disappears. Units can suddenly, unexpectedly
disappear if a service terminates on its own choice, a device is unplugged or a mount point unmounted without
involvement of systemd.
您应该考虑使用
BindsTo
overRequires
, fromman systemd.unit
Requires=
在delayed_job systemd 文件上完成这项工作:(
man systemd.unit
)