Skip to main content
Fixed in v0.5.146. Update ReCasaOS, then, for an app you had already saved, set the service’s restart policy to no once in the app’s settings.

What you see

The app tile says Stopped while the app works, or a service that should run once is started again and again.

Why

A service that had finished its job (exit code 0) counted in the app’s state, and the settings form did not offer the restart policy no: saving rewrote restart: no to unless-stopped, so the service was restarted in a loop.

What to do

  1. Update ReCasaOS to v0.5.146 or later.
  2. Open the app’s Settings, card Container, and set Restart Policy to no for the service that runs once, then Save.
Issue: ReCasaOS/CasaOS#149.