Added advisorycircular.sh.
This commit is contained in:
parent
e9badb3a2f
commit
f6963b99b4
10
advisorycircular.sh
Normal file
10
advisorycircular.sh
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
dir=$(dirname "$0")
|
||||||
|
config_dir=/etc/advisorycircular
|
||||||
|
instance="$1"
|
||||||
|
|
||||||
|
config_path="$config_dir"/"$instance".conf
|
||||||
|
secrets_path="$config_dir"/"$instance".secret
|
||||||
|
"$dir"/intervalexec 10 node $dir/out/advisorycircular.js --config "$config_path" --secrets "$secrets_path"
|
Loading…
Reference in New Issue
Block a user