Advertisement
Guest User

Untitled

a guest
Dec 11th, 2014
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. [user0@homelinux ~]$ cat /etc/systemd/system/multi-user.target.wants/openvpn\@server.service
  2. [Unit]
  3. Description=OpenVPN connection to %i
  4.  
  5. [Service]
  6. Type=forking
  7. ExecStart=/usr/bin/openvpn --cd /etc/openvpn --config /etc/openvpn/%i.conf --daemon openvpn@%i --writepid /run/openvpn@%i.pid
  8. PIDFile=/run/openvpn@%i.pid
  9.  
  10. [Install]
  11. WantedBy=multi-user.target
  12. [user0@homelinux ~]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement