[systemd-devel] WorkingDirectory for user units
Lennart Poettering
lennart at poettering.net
Thu Dec 15 07:13:30 PST 2011
On Sat, 03.12.11 16:52, Ran Benita (ran234 at gmail.com) wrote:
> I don't think there's a way to do it. I looked into either
> - making the home directory the default working directory (for user's
> systemd)
> - adding a %~ format specifier
> - or maybe both?
I prefer %~ (or actually %h, see other mail).
> > 2.) Also i'm not sure which WantedBy= in the [Install] section to use?
> > Do I need the section at all? what dependencies/values are sensible
> > here?
>
> I just used default.target, which worked as expected.
Yes, this sounds like the right thing to do.
Lennart
--
Lennart Poettering - Red Hat, Inc.
More information about the systemd-devel
mailing list