On 5/26/13 3:35 PM, Sergei Trofimovich wrote:
On Sun, 26 May 2013 13:59:34 +0200 Luca Barbato <[email protected]> wrote: You need to name a unit with @ suffix, like [email protected]:$ cat /etc/systemd/system/[email protected] [Service] Type=simple ExecStart=/usr/sbin/openvpn --user openvpn --group openvpn --cd /etc/openvpn --chroot /var/run/openvpn --config %I.conf feel free to sprinkle %i (and others) for templating.
Feel free to check which fields accept %expansions and which do not, last time I heard some fields do not. If it had been fixed I'm glad.
lu
