From 3758256b4c352965a327749e46027223b6110606 Mon Sep 17 00:00:00 2001 From: hiroTochigi Date: Fri, 29 Sep 2023 21:48:25 -0500 Subject: [PATCH] change file name as expected by systemctl --- vpn/executeScriptOnRemoteServer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vpn/executeScriptOnRemoteServer.sh b/vpn/executeScriptOnRemoteServer.sh index a0fdf2cc..1a018c41 100755 --- a/vpn/executeScriptOnRemoteServer.sh +++ b/vpn/executeScriptOnRemoteServer.sh @@ -35,7 +35,7 @@ ssh -i /root/.ssh/$sshkey root@$publicIp " if [ "$mode" == "proxy" ] then - scp -i /root/.ssh/$sshkey /etc/openvpn/server/serverProxy.conf root@$publicIp:/etc/openvpn/server/ + scp -i /root/.ssh/$sshkey /etc/openvpn/server/serverProxy.conf root@$publicIp:/etc/openvpn/server/server.conf else scp -i /root/.ssh/$sshkey /etc/openvpn/server/server.conf root@$publicIp:/etc/openvpn/server/ fi