README: Clarify volume naming convention

* Use a better default that works with systemd service out of the box.
* Update upstart init script to follow convention.
This commit is contained in:
Kyle Manna
2017-05-10 08:14:51 -07:00
parent 861ed05c48
commit f996bbaa8e
2 changed files with 6 additions and 3 deletions

View File

@ -4,5 +4,5 @@ start on filesystem and started docker
stop on runlevel [!2345]
respawn
script
exec docker run -v ovpn-data:/etc/openvpn --rm -p 1194:1194/udp --cap-add=NET_ADMIN kylemanna/openvpn
exec docker run -v ovpn-data-example:/etc/openvpn --rm -p 1194:1194/udp --cap-add=NET_ADMIN kylemanna/openvpn
end script