Debian 4.86.1 beta
Jerry Benton
jerry.benton at mailborder.com
Thu Jan 28 19:45:42 UTC 2016
Easy enough to fix. Thanks.
-
Jerry Benton
www.mailborder.com
> On Jan 28, 2016, at 2:44 PM, Mark Sapiro <mark at msapiro.net> wrote:
>
> On 01/27/2016 02:57 AM, Jerry Benton wrote:
>> Ok, here is the beta for the Debian package.
>
>
> There is an issue with the /etc/init.d/MailScanner script in the first
> 4.86.1-0 beta (I haven't looked at the new one yet).
>
> The new code to test if MailScanner is running doesn't work, resulting
> in /etc/cron.hourly/MailScanner starting an additional MailScanner
> instance every hour.
>
> Here's what I did to make it work:
>
>> --- /b/d/etc/init.d/MailScanner 2016-01-27 02:42:42.000000000 -0800
>> +++ /etc/init.d/MailScanner 2016-01-28 11:11:58.280354834 -0800
>> @@ -105,7 +105,7 @@
>> # 0 if daemon has been started
>> # 1 if daemon was already running
>> # 2 if daemon could not be started
>> - start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON ${RUNAS} --test > /dev/null || return 1
>> + start-stop-daemon --start --quiet --pidfile $PIDFILE --startas $DAEMON ${RUNAS} --test > /dev/null || return 1
>> start-stop-daemon --start --quiet --nicelevel $run_nice --exec $DAEMON ${RUNAS} --pidfile $PIDFILE || return 2
>>
>> # Set lockfile to inform cronjobs about the running daemon
>
>
> See the explanation of why --exec doesn't work here in the description
> of --exec in 'man start-stop-daemon'
>
> --
> Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
> San Francisco Bay Area, California better use your sense - B. Dylan
>
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/listinfo/mailscanner
>
More information about the MailScanner
mailing list