forked from Spark/ssm-services
15 lines
353 B
Plaintext
Executable File
15 lines
353 B
Plaintext
Executable File
#!/usr/bin/env ssm
|
|
|
|
# soft depend, OR return 1 for hard depend
|
|
depends dnscrypt-backup
|
|
|
|
#service_respawn='true'
|
|
service_command=(
|
|
'/usr/bin/dnscrypt-proxy'
|
|
"--local-address=${local_ip}:${local_port}"
|
|
"--resolver-address=${resolver_ip}:${resolver_port}"
|
|
"--provider-name=${provider_name}"
|
|
"--provider-key=${provider_key}"
|
|
"--user=${local_user}"
|
|
)
|