summaryrefslogtreecommitdiff
path: root/src/core/unit.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-07-16 12:44:42 +0200
committerLennart Poettering <lennart@poettering.net>2012-07-16 12:44:42 +0200
commite06c73cc91e02a1a3dffdb0976fef754f1109e74 (patch)
tree5a3cd2c0424fe64c3a589ce44a1a054d20fbf655 /src/core/unit.h
parentd05c5031ad4c528fe6bbfed289519edb9f13180a (diff)
unit: set default working directory to the user's home directory when running in user mode
Diffstat (limited to 'src/core/unit.h')
-rw-r--r--src/core/unit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/unit.h b/src/core/unit.h
index 45849a4b12..2483e4ea9d 100644
--- a/src/core/unit.h
+++ b/src/core/unit.h
@@ -537,6 +537,8 @@ void unit_ref_unset(UnitRef *ref);
int unit_add_one_mount_link(Unit *u, Mount *m);
int unit_add_mount_links(Unit *u);
+int unit_patch_working_directory(Unit *u, ExecContext *c);
+
const char *unit_active_state_to_string(UnitActiveState i);
UnitActiveState unit_active_state_from_string(const char *s);