Catch SIGUSR2 and log shutdowns
Get entry saving working again