Am 25.04.19 um 01:55 schrieb Norbert Preining:
> Package: systemd
> Version: 241-3
> Severity: important
> 
> Hi
> 
> it seems that the documentation of systemd is incorrect, or incomplete,
> as it states that
>       suffix. In the unit file itself, the instance parameter may be referred 
> to using "%i" and other
>       specifiers, see below.
>       (man page of systemd.unit)
> and down there %h is listed as home directory of the user.
> 
> We use a systemd unit file that has onedrive@.service
>       ExecStart=/usr/bin/onedrive --monitor 
> --confdir=/home/%i/.config/onedrive
> which works as expected. But the moment I change it to
>       ExecStart=/usr/bin/onedrive --monitor --confdir=%h/.config/onedrive
> it breaks because %h is not expanded.

Looks like a duplicate of
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=868269

Can you attach the full .service file please.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to