Merge pull request #49 from ypid/copy-server-create-ccd
Create ccd directory to prevent error if /etc is mounted read-only.
This commit is contained in:
commit
868da2ddac
@ -27,5 +27,6 @@ pki/ca.crt
|
|||||||
--files-from - \
|
--files-from - \
|
||||||
"$OPENVPN/" "$TARGET"
|
"$OPENVPN/" "$TARGET"
|
||||||
ln --symbolic --force ../openvpn.conf ../ovpn_env.sh "$TARGET"
|
ln --symbolic --force ../openvpn.conf ../ovpn_env.sh "$TARGET"
|
||||||
|
mkdir -p "$TARGET/ccd"
|
||||||
|
|
||||||
echo "Created the openvpn configuration for the server: $TARGET"
|
echo "Created the openvpn configuration for the server: $TARGET"
|
||||||
|
Loading…
Reference in New Issue
Block a user