Skip to content

Commit 1129eb0

Browse files
committed
systemd: Remove read-only flag on volume
* The read-only flag will create issues with those trying to add certificates to the data volume.
1 parent b07b495 commit 1129eb0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

init/[email protected]

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
# 5. Verify service start-up with:
2828
# `systemctl status [email protected]`
2929
# `journalctl --unit [email protected]`
30-
#
30+
#
3131
# For more information, see the systemd manual pages.
3232
#
3333
[Unit]
@@ -64,7 +64,7 @@ ExecStartPre=-/usr/bin/docker pull $IMG
6464
ExecStartPre=/bin/sh -c 'test -z "$IP6_PREFIX" && exit 0; sysctl net.ipv6.conf.all.forwarding=1'
6565

6666
# Main process
67-
ExecStart=/usr/bin/docker run --rm --privileged -v ${DATA_VOL}:/etc/openvpn:ro --name ${NAME} -p ${PORT} ${IMG} ovpn_run $ARGS
67+
ExecStart=/usr/bin/docker run --rm --privileged -v ${DATA_VOL}:/etc/openvpn --name ${NAME} -p ${PORT} ${IMG} ovpn_run $ARGS
6868

6969
# IPv6: Add static route for IPv6 after it starts up
7070
ExecStartPost=/bin/sh -c 'test -z "${IP6_PREFIX}" && exit 0; sleep 1; ip route replace ${IP6_PREFIX} via $(docker inspect -f "{{ .NetworkSettings.GlobalIPv6Address }}" $NAME ) dev docker0'

0 commit comments

Comments
 (0)