Você pode escrever uma estrofe pós-início para enviar e-mail (s).
# An Upstart script to manage the foo service
respawn
post-start script
echo "my-foo service started at 'date +"%F %T.%N"'" | mail -s "My-foo Service Started" [email protected]
echo "my-foo service started at 'date +"%F %T"'" | mail -s "My-foo Service Started" [email protected]
end script
exec -u foo-user /usr/local/bin/foo