commands.sh

systemd-notify

linux

Notify the service manager about start-up completion and other daemon status changes. This command is useless outside systemd service scripts.

More info →

Examples (3)

Notify systemd that the service has completed its initialization and is fully started. It should be invoked when the service is ready to accept incoming requests

Signal to systemd that the service is ready to handle incoming connections or perform its tasks

Provide a custom status message to systemd (this information is shown by `systemctl status`)

systemd-notify --status "Add custom status message here..."
made by @shridhargupta | data from tldr-pages