feat: start emissary-agent later in the boot process and retry more times on error
arcad/emissary-firmware/pipeline/head Something is wrong with the build of this commit
Details
arcad/emissary-firmware/pipeline/head Something is wrong with the build of this commit
Details
This commit is contained in:
parent
e2417fbdcc
commit
8ca78641ff
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh /etc/rc.common
|
#!/bin/sh /etc/rc.common
|
||||||
|
|
||||||
USE_PROCD=1
|
USE_PROCD=1
|
||||||
START=50
|
START=99
|
||||||
STOP=50
|
STOP=50
|
||||||
|
|
||||||
start_service() {
|
start_service() {
|
||||||
|
@ -22,7 +22,7 @@ start_service() {
|
||||||
procd_append_param command --workdir /usr/share/emissary
|
procd_append_param command --workdir /usr/share/emissary
|
||||||
procd_append_param command --config "$config_file"
|
procd_append_param command --config "$config_file"
|
||||||
procd_append_param command agent run
|
procd_append_param command agent run
|
||||||
procd_set_param respawn ${respawn_threshold:-3600} ${respawn_timeout:-5} ${respawn_retry:-5}
|
procd_set_param respawn ${respawn_threshold:-3600} ${respawn_timeout:-5} ${respawn_retry:-17280}
|
||||||
procd_set_param file "$config_file"
|
procd_set_param file "$config_file"
|
||||||
procd_set_param stdout 1
|
procd_set_param stdout 1
|
||||||
procd_set_param stderr 1
|
procd_set_param stderr 1
|
||||||
|
|
Loading…
Reference in New Issue