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