%I specifier unescapes instance name, so
[email protected] instance becomes "path/to/profile"

Best regards,
Alexander


2014-06-29 0:31 GMT+08:00 Moviuro <[email protected]>:
> On Sunday 29 June 2014 00:21:33 you wrote:
>> You could just use /etc/systemd/system/[email protected]/
>> directory to provide service environment variables, this seems to be
>> much more convenient way to configure service.
> I can't do that because different users may have the same profile name (and
> thus the same configuration folder).
>
> (I wanted to avoid it but, here is the unit)
> [Unit]
> Description=Unison sync for profile PROFILE
> [email protected]
> [email protected]
> [Service]
> User=LOCAL_USER
> ExecStart=/usr/bin/unison -auto -silent PROFILE
>
> I can't put the full path to the PROFILE as unison@/path/to/profile.service
> because I can't put '/' in a file name.
>
> Cheers,
> --
> Moviuro
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to