I would like to show a custom message when someone runs systemctl status
and the script has failed.
Systemd seems to have a few built in.
If I have a script that runs exit 200
systemctl status will out put (code=exited, status=200/CHDIR)
How can set the status with a custom message? I would like to be able to do exit 199
and have it show something like status=199/MY_CODE