A oneshot unit shows `active (exited)` and running `systemctl start` again does nothing.
IntermediateTroubleshootingsystemd services and journald
Answer
Likely causes → RemainAfterExit=yes keeps the unit "active", so starting it again is a no-op.
Diagnose →
systemctl show myjob -p Type -p RemainAfterExit
Fix → Use systemctl restart myjob to run it again, or remove RemainAfterExit if the unit is meant to run repeatedly (e.g. from a timer).
Prevent → Use RemainAfterExit=yes only for "set up once" units.
More on systemd services and journald
`systemctl status myapp` shows `Main process exited, code=exited, status=203/EXEC`.BeginnerA service fails with `status=217/USER`.BeginnerA service fails with `status=200/CHDIR`.BeginnerA unit fails with `status=226/NAMESPACE`.AdvancedYou edited a unit file, restarted the service, but the old behaviour persists. `systemctl status` shows `Warning: The unit file, source configuration file or drop-ins of myapp.service changed on disk`.BeginnerYou edited `/usr/lib/systemd/system/nginx.service` directly and after a package update your change vanished.Beginner