]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/automount.c
core: clearly refuse OnFailure= deps on units that can't fail
[thirdparty/systemd.git] / src / core / automount.c
index 091b59fe78d12efe50c2a7f5a2a95aea5a3e1c9e..0b3f498bfcb3bb222f5b1139b7255d3f51bf1da8 100644 (file)
@@ -1106,6 +1106,10 @@ const UnitVTable automount_vtable = {
                 "Automount\0"
                 "Install\0",
 
+        .can_transient = true,
+        .can_fail = true,
+        .can_trigger = true,
+
         .init = automount_init,
         .load = automount_load,
         .done = automount_done,
@@ -1132,8 +1136,6 @@ const UnitVTable automount_vtable = {
         .bus_vtable = bus_automount_vtable,
         .bus_set_property = bus_automount_set_property,
 
-        .can_transient = true,
-
         .shutdown = automount_shutdown,
         .supported = automount_supported,