Automatically restart services after library updates