rs: stacktrace if system process exits early.
This commit is contained in:
parent
83ef7119f6
commit
4ac5eb7832
@ -822,6 +822,7 @@ PUBLIC void terminate_service(struct rproc *rp)
|
|||||||
if(rp->r_flags & RS_INITIALIZING) {
|
if(rp->r_flags & RS_INITIALIZING) {
|
||||||
printf("RS: service '%s' exited during initialization\n", rpub->label);
|
printf("RS: service '%s' exited during initialization\n", rpub->label);
|
||||||
rp->r_flags |= RS_EXITING; /* don't restart. */
|
rp->r_flags |= RS_EXITING; /* don't restart. */
|
||||||
|
sys_sysctl_stacktrace(rp->r_pub->endpoint);
|
||||||
|
|
||||||
/* If updating, rollback. */
|
/* If updating, rollback. */
|
||||||
if(rp->r_flags & RS_UPDATING) {
|
if(rp->r_flags & RS_UPDATING) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user