2017-07-13 13:09:42 +00:00
|
|
|
#!/usr/bin/env ssm
|
2014-07-21 16:09:49 +00:00
|
|
|
|
|
|
|
# soft depend, OR return 1 for hard depend
|
|
|
|
depends dnscrypt-backup
|
|
|
|
|
2014-08-02 17:35:27 +00:00
|
|
|
#service_respawn='true'
|
2017-12-10 17:44:17 +00:00
|
|
|
service_command=(
|
|
|
|
'/usr/bin/dnscrypt-proxy'
|
2015-12-17 09:49:30 +00:00
|
|
|
"--local-address=${local_ip}:${local_port}"
|
|
|
|
"--resolver-address=${resolver_ip}:${resolver_port}"
|
|
|
|
"--provider-name=${provider_name}"
|
|
|
|
"--provider-key=${provider_key}"
|
|
|
|
"--user=${local_user}"
|
|
|
|
)
|