Reloading tac_plus configuration

393 views
Skip to first unread message

Paul Marin

unread,
Mar 16, 2011, 10:40:39 AM3/16/11
to event-driv...@googlegroups.com
Hi Marc,

I was wondering how to reload the tac_plus configuration without
killing/starting de daemon. Is that possible?

Thanks in advance,

Paul

Marc Huber

unread,
Mar 16, 2011, 11:22:55 AM3/16/11
to Event-Driven Servers
Hi Paul,

On 16 Mrz., 15:40, Paul Marin <pmarin...@gmail.com> wrote:
> I was wondering how to reload the tac_plus configuration without
> killing/starting de daemon. Is that possible?

sending a HUP signal to the master process should work. Have a look at
tac_plus/doc/etc_init.d_tac_plus for an example start-stop-restart
init script.

Cheers,

Marc

whc

unread,
Apr 11, 2011, 9:41:24 PM4/11/11
to Event-Driven Servers
hi
I have added this to the /etc/init.d/tac-plus :

restart)
echo -n "Stopping $DESC: "
start-stop-daemon -K -n $NAME &
echo "$NAME ."
sleep 15
echo -n "Starting $DESC: "
start-stop-daemon --start --quiet -m -p /var/run/$NAME.pid --
exec $DAEMON -- $DAEMON_OPTS &
echo "$NAME ."
;;

Paul Marin

unread,
Apr 12, 2011, 9:30:12 AM4/12/11
to event-driv...@googlegroups.com
Hi Wenceslao,

As Mark said, there is a start-stop-restart init script file within the
the tac_plus tar file.

Check out tac_plus/doc/etc_init.d_tac_plus

You just have to modify it to match local settings and that's all. It is
working fine for me.

Kindly,

Paul


El 11/04/2011 09:11 p.m., whc escribi�:

Wenceslao Hernandez

unread,
Apr 13, 2011, 11:36:16 AM4/13/11
to event-driv...@googlegroups.com
ok thanks i will use that
Wenceslao Hernandez

2011/4/12 Paul Marin <pmar...@gmail.com>
Hi Wenceslao,

As Mark said, there is a start-stop-restart init script file within the
the tac_plus tar file.

Check out tac_plus/doc/etc_init.d_tac_plus

You just have to modify it to match local settings and that's all. It is
working fine for me.

Kindly,

Paul


El 11/04/2011 09:11 p.m., whc escribió:
> hi
> I have added  this to the /etc/init.d/tac-plus :
>
>  restart)
>          echo -n "Stopping $DESC: "
>           start-stop-daemon -K -n $NAME &
>          echo "$NAME ."
>          sleep 15
>          echo -n "Starting $DESC: "
>          start-stop-daemon --start --quiet -m -p  /var/run/$NAME.pid --
> exec $DAEMON -- $DAEMON_OPTS &
>          echo "$NAME ."
>          ;;
>
>
>
>
> On 16 mar, 14:40, Paul Marin <pmarin...@gmail.com> wrote:
>> Hi Marc,
>>
>> I was wondering how to reload the tac_plus configuration without
>> killing/starting de daemon. Is that possible?
>>
>> Thanks in advance,
>>
>> Paul

--
You received this message because you are subscribed to the Google Groups "Event-Driven Servers" group.
To post to this group, send email to event-driv...@googlegroups.com.
To unsubscribe from this group, send email to event-driven-ser...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/event-driven-servers?hl=en.




--
Wenceslao Hernandez C.

Reply all
Reply to author
Forward
0 new messages