angler-fishThe Vulnerability History Project

core: allow setting WorkingDirectory= to the special value ~

      If set to ~ the working directory is set to the home directory of the
user configured in User=.

This change also exposes the existing switch for the working directory
that allowed making missing working directories non-fatal.

This also changes "machinectl shell" to make use of this to ensure that
the invoked shell is by default in the user's home directory.

Fixes #1268.
    
commit 5f5d8eab1f2f5f5e088bc301533b3e4636de96c7
+9 -14
+17 -70
+10 -11
-1
+1 -1
+33 -96
-1
+2 -3
expand_less