Hooking Network Manager to (re)start a program

Dear All,

How could I hook Network Manager to (re)start a program when

Problem detail:

I need to restart spamassassin daemon whenever I connect to any of
wireless/wired networks around. Do not ask why; Spamassassin should
care about this. But on Ubuntu, I need to do this manually. Otherwise,
I get lots of spam more than expected.

Thanks in advance.

Best Regards,
Vehbi Sinan

Attachment: pgppZ7iqDLXQP.pgp
Description: PGP signature

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]