ovpn_run: Assume /etc/openvpn is read-only
* Systemd service currently marks the mount as read-only, and this is regarded as good practice for server/daemon only operation. * Don't create /etc/openvpn/ccd as the mount may be read-only. * Append the client-config-dir command line argument if it is found to avoid mkdir operation. * Mount can easily be modified using a different docker run line with ":ro" on the volume mount.
This commit is contained in:
@ -171,8 +171,6 @@ port 1194
|
||||
dev tun0
|
||||
status /tmp/openvpn-status.log
|
||||
|
||||
client-config-dir $OPENVPN/ccd
|
||||
|
||||
user nobody
|
||||
group nogroup
|
||||
EOF
|
||||
|
Reference in New Issue
Block a user