Bug#927911: systemd: Does not expand %h identifier in ExecStart
Norbert Preining
norbert at preining.info
Thu Apr 25 10:09:23 BST 2019
Hi Michael,
On Thu, 25 Apr 2019, Michael Biebl wrote:
> Looks like a duplicate of
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=868269
Indeed. Interesting that systemd changed the behaviour but it is not
documented ... (well ... we know).
> Can you attach the full .service file please.
Here is the .in version that is then configure-d into the .service file
---------------------
[Unit]
Description=OneDrive Free Client for %i
Documentation=https://github.com/abraunegg/onedrive
After=network-online.target
Wants=network-online.target
[Service]
ExecStart=@prefix@/bin/onedrive --monitor --confdir=%h/.config/onedrive
User=%i
Group=users
Restart=on-failure
RestartSec=3
[Install]
WantedBy=multi-user.target
----------------------
Best
Norbert
--
PREINING Norbert http://www.preining.info
Accelia Inc. + JAIST + TeX Live + Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
More information about the Pkg-systemd-maintainers
mailing list