My bad, correction is: PIDFile= instead of PIDfile=

that's it.




On Mon, 2020-04-13 at 10:38 +0200, Valerio Bellizzomi wrote:
> The only problem with this is that the ganglia-alert script exits
> immediately, thus systemd keeps restarting it and the PID is increasing
> continuously.
> 
> 
> 
> 
> On Mon, 2020-04-13 at 10:35 +0200, Valerio Bellizzomi wrote:
> > I have adapted the ganglia-alert init script to systemd for Debian:
> > 
> > 
> > 
> > [Unit]
> > Description=Ganglia Alert Service
> > 
> > [Service]
> > Type=simple
> > PIDfile=/var/run/ganglia-alert.pid
> > ExecStart=/home/user/ganglia-alert -d -c /home/user/ganglia_config.txt
> > Restart=always
> > 
> > [Install]
> > WantedBy=multi-user.target
> > Alias=ganglia-alert.service
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > On Wed, 2020-03-25 at 11:58 -0400, Vladimir Vuksan wrote:
> > > Hi Valerio,
> > > 
> > > Unfortunately last couple weeks have been pretty rough for many people. 
> > > I don't really have much input on the init script. You are probably best 
> > > off trying to adapt the init script to systemd on your own.
> > > 
> > > Sincerely,
> > > 
> > > Vladimir
> > > 
> > > 
> > > 3/25/20 u 5:50 AM, Valerio Bellizzomi je napisao/la:
> > > > Is it normal to not get a reply for so long time on this list?
> > > >
> > > >
> > > > On Fri, 2020-03-13 at 05:50 +0100, Valerio Bellizzomi wrote:
> > > >> Greetings,
> > > >> I would like to setup ganglia-alert on Debian, but the init script is
> > > >> very old and does not fit with the new systemd setup.
> > > >>
> > > >> suggestions?
> > > >>
> > > >>
> > > >>
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > Ganglia-general mailing list
> > > > Ganglia-general@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/ganglia-general
> > > 
> > > 
> > > _______________________________________________
> > > Ganglia-general mailing list
> > > Ganglia-general@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/ganglia-general
> > 
> > 
> > 
> > 
> > _______________________________________________
> > Ganglia-general mailing list
> > Ganglia-general@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/ganglia-general
> 
> 
> 
> 
> _______________________________________________
> Ganglia-general mailing list
> Ganglia-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ganglia-general




_______________________________________________
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to