# urbestack-service-restart

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-restart --name DAEMON [--wait SECONDS]
```

## Description

Restarts a daemon and waits for it to pass its health check. UrbeStack's own web server, PHP and API restart in the background 2 seconds after the command returns.

Use the daemon name shown by urbestack-service-list. --wait sets how long to wait for the restarted daemon to pass its health check, from 1 to 120 seconds. The default is 30 seconds.

## Command family: service

- [urbestack-service-check](https://urbestack.com/docs/commands/urbestack-service-check.md): Runs one monitoring round for every watched daemon, or for a single daemon with --name.
- [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-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.
