Planned in Phase 2 of the rewrite: the periodic check runs as a dedicated xinit user, and a polkit rule allows it to restart only the XWiki unit. See https://github.com/ciaens/xinit/blob/claude/sleepy-pasteur-57a86v/docs/phases/phase-2-act.md.