Restart nodejs when setting domain