Le Tue, 24 Jun 2008 21:48:42 +0300,
Manolis Kiagias <[EMAIL PROTECTED]> a écrit :
> Nicolas Letellier wrote:
> > Hi.
> >
> > I want to restart named in a script executed by a cron. My script
> > is:
> >
> > #!/bin/sh
> > # verify named conf and restart it
> > /usr/sbin/named-checkconf
> > if [ ! $
Nicolas Letellier wrote:
Hi.
I want to restart named in a script executed by a cron. My script is:
#!/bin/sh
# verify named conf and restart it
/usr/sbin/named-checkconf
if [ ! $? -eq 0 ]; then
echo "Errors when verifying named configuration"
exit 1
else
/etc/rc.d/named
On Tue, Jun 24, 2008 at 08:17:20PM +0200, Nicolas Letellier wrote:
> Hi.
>
> I want to restart named in a script executed by a cron. My script is:
>
> #!/bin/sh
> # verify named conf and restart it
> /usr/sbin/named-checkconf
> if [ ! $? -eq 0 ]; then
> echo "Errors when verifying named
Nicolas Letellier wrote:
Hi.
I want to restart named in a script executed by a cron. My script is:
#!/bin/sh
# verify named conf and restart it
/usr/sbin/named-checkconf
if [ ! $? -eq 0 ]; then
echo "Errors when verifying named configuration"
exit 1
else
/etc/rc.d/named
On Tue, Jun 24, 2008 at 2:17 PM, Nicolas Letellier <[EMAIL PROTECTED]> wrote:
> Hi.
>
> I want to restart named in a script executed by a cron. My script is:
>
> #!/bin/sh
> # verify named conf and restart it
> /usr/sbin/named-checkconf
> if [ ! $? -eq 0 ]; then
>echo "Errors when verifying