feat: start emissary-agent later in the boot process and retry more times on error
Some checks reported errors
arcad/emissary-firmware/pipeline/head Something is wrong with the build of this commit
Some checks reported errors
arcad/emissary-firmware/pipeline/head Something is wrong with the build of this commit
This commit is contained in:
parent
e2417fbdcc
commit
8ca78641ff
@ -1,7 +1,7 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
|
||||
USE_PROCD=1
|
||||
START=50
|
||||
START=99
|
||||
STOP=50
|
||||
|
||||
start_service() {
|
||||
@ -22,7 +22,7 @@ start_service() {
|
||||
procd_append_param command --workdir /usr/share/emissary
|
||||
procd_append_param command --config "$config_file"
|
||||
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 stdout 1
|
||||
procd_set_param stderr 1
|
||||
|
Loading…
Reference in New Issue
Block a user