mirror of
https://github.com/systemd/systemd.git
synced 2024-10-28 20:25:38 +03:00
core: set private section name for automount units
Because this was left unset, the unit_write_setting() function was refusing to write out the automount-specific TimeoutIdleSec= and DirectoryMode= settings when creating transient automount units. Set it to the proper value in line with other unit types.
This commit is contained in:
parent
c2056dd6f9
commit
2fadbb4535
@ -1085,6 +1085,7 @@ const UnitVTable automount_vtable = {
|
||||
"Unit\0"
|
||||
"Automount\0"
|
||||
"Install\0",
|
||||
.private_section = "Automount",
|
||||
|
||||
.can_transient = true,
|
||||
.can_fail = true,
|
||||
|
Loading…
Reference in New Issue
Block a user