Re:Real-time notifications from systemd to Slack
by skarap on Monday March 13, 2017 @06:57AM
(#13856718)
What if slack is down/unreachable? Won't it keep the service from starting?
[ Parent
| on HN ]
Re:Real-time notifications from systemd to Slack
by lima on Monday March 13, 2017 @07:43AM
(#13856916)
If it makes slacktee fail with an error code, yes, it would prevent startup. The fix is a - sign:
ExecStartPre=-/usr/bin/foo
Would still mark the service as "failed" but wouldn't prevent it from starting.