A service stays in `activating (start)` for 90 seconds and then fails with `Failed with result 'timeout'`.
IntermediateTroubleshootingsystemd services and journald
Answer
Likely causes → Type=notify but the app never sends READY=1, Type=forking but the parent never exits, or a ExecStartPre that hangs. Sometimes the app really needs longer to start.
Diagnose →
systemctl show myapp -p Type -p TimeoutStartUSec -p NotifyAccess
journalctl -u myapp -b
Fix → Use the right Type (simple/exec if the app doesn't support sd_notify), fix the hanging pre-step, or raise TimeoutStartSec= for slow starts.
Prevent → Match Type= to how the app actually behaves; document required start time.
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