Skip to content
quarry Artifact [cd3386b839]
Login

Artifact [cd3386b839]

Artifact cd3386b8397456cdea0b000a478773ee3d45390c2fce77f9a281d1b7b729b720:


# Sends "<unit> failed" to the forge's admins through notify (the
# quarry-ops workflow). Instanced by OnFailure=quarry-alert@%N.service;
# %i is the failed unit's name. The notify key comes from doppler, as
# quarry.service's does. No OnFailure= here: an alert that fails is a
# journal line (quarry-alert), never another alert.
[Unit]
Description=quarry alert: %i failed

[Service]
Type=oneshot
EnvironmentFile=/srv/quarry/env
ExecStart=/usr/bin/doppler run --project quarry --config prd -- /srv/quarry/quarry-alert.sh %i