On 5/26/13 3:35 PM, Sergei Trofimovich wrote:
On Sun, 26 May 2013 13:59:34 +0200
Luca Barbato <lu_z...@gentoo.org> wrote:
You need to name a unit with @ suffix, like openvpn@.service:
$ cat /etc/systemd/system/openvpn@.service
[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