~dricottone/huttese-apk

8fe476e7542632ada57dbe7b54acd665295bc353 — Drew DeVault 4 years ago f32d2ea
alertmanager-irc-relay: fix up initd/confd
M sr.ht/alertmanager-irc-relay/APKBUILD => sr.ht/alertmanager-irc-relay/APKBUILD +2 -2
@@ 50,6 50,6 @@ package() {
}

sha512sums="bb1ecac858cee6403d591a3e600138a12549adcd27f1d3c6136966f163bef9cac697019af0fcd859bc2fd7c6b3ca7bef444d1566559203f7561408fbdd3eeee9  alertmanager-irc-relay-20200105.tar.gz
58f59d1972af10659a5d44f3e005b28928082bac733d27b10238196f68f361cd472782a83b60522c850de7fe9cf502f688956e6e1a2bb64c8aead10dc1529266  alertmanager-irc-relay.confd
92da9c8cdc10ec6cbfb07ae0710b56ab66260bfa78a1f40f0e4ac498cdd50bbbb0ddec2b53d16c1492a77755bfb2382478e22e2e08f0c0e6d421bc206a99e225  alertmanager-irc-relay.initd
4ff1d1f4bf8488a22086377030327d46c7222a0a5da640bc900d9ba82dc7c5a8fa6ef8cca394983756bfd30d9dd1fb52cc27df423bbb6e630138df0ae0108422  alertmanager-irc-relay.confd
cbca33bd2ce0a27a7abaa586356663e4fc8b3facb03b82054077b34f2ed26bab5ca188accd22fdc1e19bbd02bb8a51926183d57715598838d69bbdda14ea4db7  alertmanager-irc-relay.initd
646f9241087dd5c595f198b829109c975fb0c637026d59a6a271ae04fe0285744bc527797b171ad3840c543801ebeaad15925f906247de0cf2c86af96b57d9fa  alertmanager-irc-relay.yml"

M sr.ht/alertmanager-irc-relay/alertmanager-irc-relay.confd => sr.ht/alertmanager-irc-relay/alertmanager-irc-relay.confd +3 -2
@@ 1,2 1,3 @@
config_file=/etc/alertmanager/alertmanager.yml
storage_path=/var/lib/alertmanager/data
alertmanager_irc_relay_config_file=/etc/alertmanager/alertmanager-irc-relay.yml
output_log=/var/log/alertmanager-irc-relay.log
error_log=/var/log/alertmanager-irc-relay.log

M sr.ht/alertmanager-irc-relay/alertmanager-irc-relay.initd => sr.ht/alertmanager-irc-relay/alertmanager-irc-relay.initd +4 -6
@@ 1,11 1,9 @@
#!/sbin/openrc-run
name="alertmanager"
description="alert manager for the prometheus monitoring system"
name="alertmanager-irc-relay"
description="IRC relay for prometheus alertmanager"
supervisor=supervise-daemon
supervise_daemon_args="-1 /var/log/alertmanager.log -2 /var/log/alertmanager.log"
command=/usr/bin/alertmanager
command_args="--config.file=$config_file \
	--storage.path=$storage_path"
command=/usr/bin/alertmanager-irc-relay
command_args="--config $alertmanager_irc_relay_config_file"
command_user="prometheus:prometheus"
pidfile="/run/${RC_SVCNAME}.pid"