# urbestack-service-check

First published 14 Oct 2026 (release 0.2.0) · Unchanged since publication

UrbeStack release 0.2.35 command, run as root in the server shell.

## Usage

```
urbestack-service-check [--name DAEMON] [--no-mail]
```

## Description

Runs one monitoring round for every watched daemon, or for a single daemon with --name. It uses each daemon's health check and reports what it found and what it did. It skips the round while UrbeStack is updating or another round is in progress.

The monitor immediately restarts a daemon whose process died or was stopped outside UrbeStack. A running daemon that fails its health check gets its configured number of rounds before a restart. The monitor leaves disabled daemons and daemons stopped through UrbeStack alone. It reports a recovery once when a daemon starts answering again.

The monitor records its findings and emails administrators with recent lines from the daemon's logs. With --no-mail, it still records findings and restarts daemons as needed.

A full round queues UrbeStack's first certificate once the certificate authority's terms have been accepted and UrbeStack's hostname points to this server. The result reports the job under panel_certificate. A full round also requests a certificate for each domain whose self-signed certificate is a placeholder once the domain points to this server. The result lists those jobs under certificates_asked. If the round removes expired webmail tickets, it reports the count under webmail_tickets_swept.

## Command family: service

- [urbestack-service-disable](https://urbestack.com/docs/commands/urbestack-service-disable.md): Stops a daemon and prevents it from starting at boot or after UrbeStack updates.
- [urbestack-service-list](https://urbestack.com/docs/commands/urbestack-service-list.md): Lists the daemons UrbeStack runs or relies on.
- [urbestack-service-log](https://urbestack.com/docs/commands/urbestack-service-log.md): Shows the last lines of output from journalctl -u for a daemon's systemd unit and from the daemon's own log if it is readable.
- [urbestack-service-restart](https://urbestack.com/docs/commands/urbestack-service-restart.md): Restarts a daemon and waits for it to pass its health check.
- [urbestack-service-set](https://urbestack.com/docs/commands/urbestack-service-set.md): Configures monitoring and startup at boot for a daemon.
- [urbestack-service-start](https://urbestack.com/docs/commands/urbestack-service-start.md): Starts a daemon and waits for it to pass its health check.
- [urbestack-service-stop](https://urbestack.com/docs/commands/urbestack-service-stop.md): Stops a daemon and records who stopped it.
