In the example above we have exit code 203 which means the actual execution failed (maybe the file was not found or was not marked as executable). the exit status is 0 if a line is selected, 1 if no lines were selected, and 2 if an error occurredĪs JdePB describes below, systemd may set some exit codes itself in the range of 200 to 242. j JOBS, -jobsJOBS Number of subprocesses to use to run checks in parallel. But you'll want to look at the documentation of the application for anything more than that. enabled-extensionsENABLEDEXTENSIONS Enable plugins and extensions that are otherwise disabled by default -exit-zero Exit with status code '0' even if there are errors. The posix standard has a few special cases. 0 is successful exit, 1-255 is abnormal exit, 256+ is out of range. The exit codes are up to the specific application, but there are conventions. You see here under Main PID: you have (code=exited, status=203/EXEC). Main PID: 969 (code=exited, status=203/EXEC) Process: 969 ExecStart=/usr/bin/openproject run web (code=exited, status=203/EXEC) Loaded: loaded (/etc/systemd/system/rvice enabled vendor preset: enabled)Īctive: failed (Result: exit-code) since Mon 08:17:17 CEST 1 day 4h ago Systemctl status does have what you're looking for: $ systemctl status rvice
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |