home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   linux.debian.bugs.dist      Ohh some weird Debian bug report thing      28,835 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 28,539 of 28,835   
   Elrond to All   
   Bug#1128689: prometheus-alertmanager: Ad   
   22 Feb 26 14:00:01   
   
   From: elrond+bugs.debian.org@samba-tng.org   
      
   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   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca