Bug#245358: mrtg: init script

2005-06-30 Thread George B.
On 6/30/05, Adam Majer <[EMAIL PROTECTED]> wrote: > > I think the best way is just add /etc/default/mrtg file with option, > > # uncomment to run as a daemon > # > # RUN_AS_DAEMON="true" > > Then have in /etc/init.d/mrtg, > > . /etc/default/mrtg > test "x$RUN_AS_DAEMON" == "x

Bug#245358: mrtg: init script

2005-06-30 Thread Adam Majer
George B. wrote: >On 6/30/05, Adam Majer <[EMAIL PROTECTED]> wrote: > > >>Thanks. I'll add it to the next upload but mrtg will not start as a >>daemon by default. >> >> > >1) Extract all 'RunAsDaemon' lines from config file. >2) Find a line that does not contain a '#' before the 'RunAsDaemo

Bug#245358: mrtg: init script

2005-06-30 Thread George B.
On 6/30/05, Adam Majer <[EMAIL PROTECTED]> wrote: > > Thanks. I'll add it to the next upload but mrtg will not start as a > daemon by default. If you want, it will be easy to add a check to the script along the lines of: if [ -z "`grep 'RunAsDaemon: Yes' $CFG | grep -v '#'`" ]; then ech

Bug#245358: mrtg: init script

2005-06-30 Thread Adam Majer
George B. wrote: >Package: mrtg >Version: 2.12.1-1 >Followup-For: Bug #245358 > >Hello, > > >I attach a script I am using to start MRTG. > >I am not familiar with Debian policy, but perhaps the lack of such a >script is a little more severe than 'wishlist'? > > Thanks. I'll add it to the next u

Bug#245358: mrtg: init script

2005-06-30 Thread George B.
Package: mrtg Version: 2.12.1-1 Followup-For: Bug #245358 Hello, I attach a script I am using to start MRTG. I am not familiar with Debian policy, but perhaps the lack of such a script is a little more severe than 'wishlist'? HTH, .George Borisov. -- System Information: Debian Release: test