summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2012-11-17 01:24:19 -0800
committerelijah <elijah@riseup.net>2012-11-17 01:24:19 -0800
commit25bbdd69cd2f2c19e3a183b38388b88db1b412a9 (patch)
tree4e71cc23fe8f6a1b83a7db54305a82c8e014cfe3
parent0c65e5c1169fa33d08c3ffa02d5cf3060a009892 (diff)
added better warnings to openvpn service when files are missing
-rw-r--r--provider_base/services/openvpn.json6
1 files changed, 3 insertions, 3 deletions
diff --git a/provider_base/services/openvpn.json b/provider_base/services/openvpn.json
index 46dcd50e..71d1d2c7 100644
--- a/provider_base/services/openvpn.json
+++ b/provider_base/services/openvpn.json
@@ -10,8 +10,8 @@
"filter_dns": false,
"adblock": false,
"user_ips": false,
- "ca_crt": "= file :ca_cert",
- "ca_key": "= file :ca_key",
- "dh": "= file :dh_params"
+ "ca_crt": "= file :ca_cert, :missing => 'Certificate Authority. Run `leap init-ca`'",
+ "ca_key": "= file :ca_key, :missing => 'Certificate Authority. Run `leap init-ca`'",
+ "dh": "= file :dh_params, :missing => 'Diffie-Hellman parameters. Run `leap init-dh`'"
}
}