Package: prometheus-alertmanager
Version: 0.28.1+ds-1
Severity: wishlist
Tags: patch
Hi,
prometheus-alertmanager needs network (absolute minimum:
loopback), so at a minimum add this to the service unit
[Unit]
...
Wants=network.target
After=network.target
If one runs prometheus-alertmanager in a cluster (which
even is the default: it listens for cluster connections),
it needs even more networking with proper IPs being
assigned to interfaces. So I'd highly recommend this:
[Unit]
...
Wants=network.target
After=network.target network-online.target
One could even go for a Wants with network-online.target,
but I think, it's good enough this way: Other more
important services will likely have the needed Wants.
Cheers
Elrond
--- debian/skel.bashrc
+++ debian/skel.bashrc
@@ -36,9 +36,10 @@
fi
# set a fancy prompt (non-color, unless we know we "want" color)
-case "$TERM" in
- xterm-color|*-256color) color_prompt=yes;;
-esac
+if [ -x /usr/bin/tput ] && [ "$(/usr/bin/tput colors || echo 0)" -ge 256 ]
+then
+ color_prompt=yes
+fi
# uncomment for a colored prompt, if the terminal has the capability; turned
# off by default to not distract the user: the focus in a terminal window