summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorDan Callaghan <dan.callaghan@opengear.com>2020-07-03 11:13:08 +0200
committerLennart Poettering <lennart@poettering.net>2020-07-04 18:48:36 +0200
commit2fadbb4535108406384a5d63c1ad3082f845c646 (patch)
tree2d0cb3f9cae6c06981a7d5cab7d5e1d81cef1657 /src/core
parenthwdb: Pavilion 13 x360: Tablet mode and SYSRQ key (diff)
downloadsystemd-2fadbb4535108406384a5d63c1ad3082f845c646.tar.xz
systemd-2fadbb4535108406384a5d63c1ad3082f845c646.zip
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.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/automount.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/automount.c b/src/core/automount.c
index 77420b929f..1f05198766 100644
--- a/src/core/automount.c
+++ b/src/core/automount.c
@@ -1085,6 +1085,7 @@ const UnitVTable automount_vtable = {
"Unit\0"
"Automount\0"
"Install\0",
+ .private_section = "Automount",
.can_transient = true,
.can_fail = true,