8 lines
162 B
Bash
Executable File
8 lines
162 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
while [ ! -e /server-secrets/ipsec.conf ]; do
|
|
sleep 1
|
|
done
|
|
curl -X DELETE http://127.0.0.1:2001/api/by-service/strongswan
|
|
ipsec start --nofork
|